summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--framework/qml/View.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/View.qml b/framework/qml/View.qml
index d8e32fab..4e9b6414 100644
--- a/framework/qml/View.qml
+++ b/framework/qml/View.qml
@@ -31,7 +31,7 @@ FocusScope {
31 property string filter: "" 31 property string filter: ""
32 property var searchObject: null 32 property var searchObject: null
33 function triggerSearch() { 33 function triggerSearch() {
34 if (!searchObject) { 34 if (!searchObject && Controls2.StackView.visible) {
35 searchObject = searchComponent.createObject(root) 35 searchObject = searchComponent.createObject(root)
36 } 36 }
37 } 37 }