summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/qml/main.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index f9895692f..2b6eb5d6e 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -9,6 +9,7 @@ import QtQuick.Window 2.2
import org.subsurfacedivelog.mobile 1.0
import org.kde.kirigami 2.4 as Kirigami
import QtGraphicalEffects 1.0
+import QtQuick.Templates 2.0 as QtQuickTemplates
Kirigami.ApplicationWindow {
id: rootItem
@@ -142,6 +143,8 @@ Kirigami.ApplicationWindow {
}
contextDrawer: Kirigami.ContextDrawer {
+ id: contextDrawer
+ closePolicy: QtQuickTemplates.Popup.CloseOnPressOutside
}
globalDrawer: Kirigami.GlobalDrawer {