diff options
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index c44143fe1..b90ebac15 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -85,8 +85,8 @@ Kirigami.ApplicationWindow { } function showMap() { - globalDrawer.close() - returnTopPage() + if (globalDrawer.drawerOpen) + globalDrawer.close() pageStack.push(mapPage) } |