summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qml/main.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 5511f7385..1de83eb3f 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -880,4 +880,14 @@ if you have network connectivity and want to sync your data to cloud storage."),
manager.finishSetup()
manager.appInitialized()
}
+ onClosing: {
+ if (globalDrawer.visible) {
+ globalDrawer.close()
+ close.accepted = false
+ }
+ if (contextDrawer.visible) {
+ contextDrawer.close()
+ close.accepted = false
+ }
+ }
}