summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-24 12:30:42 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-24 12:30:42 +0200
commitd6841e0c4f9c567fd7157eddfb28b84fba9114f4 (patch)
tree2c20b350368f17c4c6899c4fb72f3b3e157c6474
parentd6cab65a279761d21a2300a8b2c56adcb3038239 (diff)
downloadkube-d6841e0c4f9c567fd7157eddfb28b84fba9114f4.tar.gz
kube-d6841e0c4f9c567fd7157eddfb28b84fba9114f4.zip
Clear the search when the view is deactivated
-rw-r--r--framework/qml/View.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/qml/View.qml b/framework/qml/View.qml
index 4e9b6414..859b7155 100644
--- a/framework/qml/View.qml
+++ b/framework/qml/View.qml
@@ -64,6 +64,10 @@ FocusScope {
64 root.setup() 64 root.setup()
65 } 65 }
66 66
67 Controls2.StackView.onDeactivated: {
68 clearSearch()
69 }
70
67 //This signal will be emitted before destruction if the view was not done 71 //This signal will be emitted before destruction if the view was not done
68 signal aborted() 72 signal aborted()
69 onAborted: { 73 onAborted: {