on xenial help sign in
Remerged
55a1744Andrea Cimitan
qml/Dash/ScopesOverview.qml+3−1
@@ -32,7 +32,7 @@ Item {
32 property alias currentTab: tabBar.currentTab
32 property alias currentTab: tabBar.currentTab
33
33
34 // Properties used by parent
34 // Properties used by parent
35− readonly property alias processing: searchResultsViewer.processing
35+ readonly property bool processing: searchResultsViewer.processing || tempScopeItem.processing
36 property bool growingDashFromPos: false
36 property bool growingDashFromPos: false
37 readonly property bool searching: scope && scope.searchQuery == ""
37 readonly property bool searching: scope && scope.searchQuery == ""
38 readonly property bool showingNonFavoriteScope: tempScopeItem.scope != null
38 readonly property bool showingNonFavoriteScope: tempScopeItem.scope != null
@@ -303,6 +303,7 @@ Item {
303 Connections {
303 Connections {
304 target: loader.item
304 target: loader.item
305 onClicked: {
305 onClicked: {
306+ pageHeader.unfocus();
306 if (tabBar.currentTab == 0) {
307 if (tabBar.currentTab == 0) {
307 root.favoriteSelected(itemModel.scopeId);
308 root.favoriteSelected(itemModel.scopeId);
308 } else {
309 } else {
@@ -351,6 +352,7 @@ Item {
351 Behavior on opacity { UbuntuNumberAnimation { } }
352 Behavior on opacity { UbuntuNumberAnimation { } }
352
353
353 function itemClicked(index, result, item, itemModel, resultsModel, limitedCategoryItemCount) {
354 function itemClicked(index, result, item, itemModel, resultsModel, limitedCategoryItemCount) {
355+ pageHeader.unfocus();
354 pageHeader.closePopup();
356 pageHeader.closePopup();
355 if (itemModel.scopeId) {
357 if (itemModel.scopeId) {
356 // This can end up in openScope so save restorePosition and restoreSize
358 // This can end up in openScope so save restorePosition and restoreSize