Extend the hack for click scope categories with the upcoming 'store' category: single-tap on results from the 'store' category should activate them, instead of requesting a preview. Fixes: 1326292
commit847b5126ed6550383e09977746ccc873b1078708
authorPawel Stolowski <pawel.stolowski@canonical.com>
dateMon 16 Jun 2014, 14:42 (12 years ago)
parent266bfdaf73ae16
qml/Dash/GenericScopeView.qml+1−1
@@ -184,7 +184,7 @@ FocusScope {
184184 Connections {
185185 target: rendererLoader.item
186186 onClicked: {
187− if (scopeView.scope.id === "scopes" || (scopeView.scope.id == "clickscope" && categoryId == "local")) {
187+ if (scopeView.scope.id === "scopes" || (scopeView.scope.id == "clickscope" && (categoryId == "local" || categoryId == "store"))) {
188188 // TODO Technically it is possible that calling activate() will make the scope emit
189189 // previewRequested so that we show a preview but there's no scope that does that yet
190190 // so it's not implemented