From: Tasuku Suzuki Date: Tue, 20 Dec 2016 08:26:35 +0000 (+0900) Subject: Move back to initial list when the app is hidden X-Git-Tag: 3.0.0~21 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F7697%2F1;p=apps%2Fsettings.git Move back to initial list when the app is hidden Change-Id: I7c8b4978e96dc2366bf07d07221c44806fb9cb73 Signed-off-by: Tasuku Suzuki --- diff --git a/app/Settings.qml b/app/Settings.qml index 42fed66..4fcda79 100644 --- a/app/Settings.qml +++ b/app/Settings.qml @@ -26,6 +26,11 @@ import 'example' ApplicationWindow { id: root + onVisibleChanged: { + if (!visible) + stack.pop(settings) + } + StackView { id: stack anchors.fill: parent