on xenial help sign in
make sure to close the search popup on going to other scopes
commit0339f55ed42315bf2f1f5a81fb027d69710ab647 authorAlbert Astals <albert.astals@canonical.com> dateTue 7 Oct 2014, 16:14 (12 years ago) parentc2eba2b
2 files changed+6
qml/Dash/Dash.qml+2 qml/Dash/ScopesList.qml+4
qml/Dash/Dash.qml+2
@@ -170,6 +170,7 @@ Showable {
170170 Connections {
171171 target: scopesList.scope
172172 onOpenScope: {
173+ scopesList.closePopup();
173174 bottomEdgeController.enableAnimation = true;
174175 bottomEdgeController.progress = 0;
175176 scopeItem.scopeThatOpenedScope = scopesList.scope;
@@ -177,6 +178,7 @@ Showable {
177178 dashContent.x = -dashContent.width;
178179 }
179180 onGotoScope: {
181+ scopesList.closePopup();
180182 bottomEdgeController.enableAnimation = true;
181183 bottomEdgeController.progress = 0;
182184 dashContent.gotoScope(scopeId);
qml/Dash/ScopesList.qml+4
@@ -32,6 +32,10 @@ Item {
3232 signal requestFavorite(string scopeId, bool favorite)
3333 signal requestFavoriteMoveTo(string scopeId, int index)
3434
35+ function closePopup() {
36+ header.closePopup();
37+ }
38+
3539 state: "browse"
3640
3741 onStateChanged: {