@@ -109,8 +109,6 @@ Showable {
109 onOpenScope: {
109 onOpenScope: {
110 scopeThatOpenedScope = currentScope;
110 scopeThatOpenedScope = currentScope;
111 scopeItem.scope = scope;
111 scopeItem.scope = scope;
112− scopesOverview.currentTab = 1;
113− scopesOverview.ensureAllScopeVisible(scope.id);
114 x = -width;
112 x = -width;
116 onScopeLoaded: {
114 onScopeLoaded: {
@@ -128,10 +126,6 @@ Showable {
128 if (!running && dashContent.x == 0) {
126 if (!running && dashContent.x == 0) {
129 dashContent.scopeThatOpenedScope.closeScope(scopeItem.scope);
127 dashContent.scopeThatOpenedScope.closeScope(scopeItem.scope);
130 scopeItem.scope = null;
128 scopeItem.scope = null;
131− if (bottomEdgeController.progress == 0) {
132− // Set tab to Favorites only if we are not showing the overview
133− scopesOverview.currentTab = 0;
@@ -158,6 +152,11 @@ Showable {
158 bottomEdgeController.enableAnimation = true;
152 bottomEdgeController.enableAnimation = true;
159 bottomEdgeController.progress = 0;
153 bottomEdgeController.progress = 0;
156+ bottomEdgeController.enableAnimation = true;
157+ bottomEdgeController.progress = 0;
158+ dashContent.currentScope.performQuery("scope://com.canonical.scopes.clickstore");
161 onRequestFavorite: {
160 onRequestFavorite: {
162 // TODO This is not yet implemented in the backend
161 // TODO This is not yet implemented in the backend
163 scopes.setFavorite(scopeId, favorite);
162 scopes.setFavorite(scopeId, favorite);