summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-27 10:29:25 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-29 01:16:23 +0900
commit5c0b864a554ca60b069db52b62352bd34b98792d (patch)
tree00697dd328da7c47be5cd59bace701c4d1929a03 /mobile-widgets
parent602f49e012e9f45775cc6908e31f8af18078a3a3 (diff)
downloadsubsurface-5c0b864a554ca60b069db52b62352bd34b98792d.tar.gz
mobile UI: add back button to planner menu
Otherwise you are stuck in there. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/main.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index 41fe2a677..07180ee90 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -507,6 +507,13 @@ if you have network connectivity and want to sync your data to cloud storage."),
text: qsTr("Dive planner")
Kirigami.Action {
+ icon {
+ name: ":/go-previous-symbolic"
+ }
+ text: qsTr("Back")
+ onTriggered: globalDrawer.scrollViewItem.pop()
+ }
+ Kirigami.Action {
text: qsTr("Setup")
onTriggered: {
globalDrawer.close()