From d6841e0c4f9c567fd7157eddfb28b84fba9114f4 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 24 Jul 2018 12:30:42 +0200 Subject: Clear the search when the view is deactivated --- framework/qml/View.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'framework/qml/View.qml') 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 { root.setup() } + Controls2.StackView.onDeactivated: { + clearSearch() + } + //This signal will be emitted before destruction if the view was not done signal aborted() onAborted: { -- cgit v1.2.3