@@ -19,6 +19,7 @@ import Ubuntu.Components 0.1
1919import Ubuntu.Components.Popups 0.1
2020import Utils 0.1
2121import Unity 0.1
22+import "Components"
2223import "Dash"
2324
2425Rectangle {
@@ -64,6 +65,7 @@ Rectangle {
6465 id: dashContent
6566
6667 model: filteredScopes
68+ searchHistory: SearchHistoryModel { }
6769 property Scope scope: scopes.get(currentIndex)
6870
6971 anchors {
@@ -136,7 +138,7 @@ Rectangle {
136138 width: parent.width
137139 autoSize: true
138140 readOnly: true
139− text: categorySelector.selectedItem > 0 && categorySelector.selectedItem.template
141+ text: categorySelector.selectedItem && categorySelector.selectedItem.template
140142 }
141143
142144 Button {