summaryrefslogtreecommitdiffstats
path: root/app/Settings.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/Settings.qml')
-rw-r--r--app/Settings.qml5
1 files changed, 5 insertions, 0 deletions
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