@@ -60,7 +60,7 @@ FocusScope {
6060 }
6161
6262 function itemClicked(index, result, item, itemModel, resultsModel, limitedCategoryItemCount) {
63− if (scope.id === "scopes" || scope.id == "clickscope") {
63+ if (itemModel.uri.indexOf("scope://") === 0 || scope.id === "clickscope") {
6464 // TODO Technically it is possible that calling activate() will make the scope emit
6565 // previewRequested so that we show a preview but there's no scope that does that yet
6666 // so it's not implemented
@@ -70,8 +70,10 @@ FocusScope {
7070 }
7171 }
7272
73− function itemPressedAndHeld(index, resultsModel, limitedCategoryItemCount) {
74− openPreview(index, resultsModel, limitedCategoryItemCount);
73+ function itemPressedAndHeld(index, itemModel, resultsModel, limitedCategoryItemCount) {
74+ if (itemModel.uri.indexOf("scope://") !== 0) {
75+ openPreview(index, resultsModel, limitedCategoryItemCount);
76+ }
7577 }
7678
7779 function openPreview(index, resultsModel, limitedCategoryItemCount) {
@@ -263,7 +265,7 @@ FocusScope {
263265 }
264266
265267 onPressAndHold: {
266− scopeView.itemPressedAndHeld(index, target.model, categoryItemCount());
268+ scopeView.itemPressedAndHeld(index, itemModel, target.model, categoryItemCount());
267269 }
268270
269271 function categoryItemCount() {