Make store button work even if you have no favorites
commitb8e26057a340ea63b73c287735a979153220580f
authorAlbert Astals <albert.astals@canonical.com>
dateTue 9 Dec 2014, 17:33 (12 years ago)
parent1c9e60f
qml/Dash/Dash.qml+1−1
@@ -167,7 +167,7 @@ Showable {
167167 onStoreClicked: {
168168 bottomEdgeController.enableAnimation = true;
169169 bottomEdgeController.progress = 0;
170− dashContent.currentScope.performQuery("scope://com.canonical.scopes.clickstore");
170+ scopesList.scope.performQuery("scope://com.canonical.scopes.clickstore");
171171 }
172172 onRequestFavorite: {
173173 scopes.setFavorite(scopeId, favorite);