aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2016-01-22 13:02:53 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-22 06:44:07 -0800
commit996367ac971d93f8646ef04dc8f8cb8eec88171f (patch)
treea0e72a9a76dbb9dddb4256cc59ffb510a9927dfb /qt-mobile/qml
parentc2eeda44e69679bd4257985f9321460fddad6710 (diff)
downloadsubsurface-996367ac971d93f8646ef04dc8f8cb8eec88171f.tar.gz
QML-UI. Add Back to Divelist menu item
As asked for on the mailinglisrt, a menu item is added to return to the Divelist the easy way. In addition to the standard Android back button. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r--qt-mobile/qml/main.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 43e7cf2a0..e69e91018 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -38,7 +38,12 @@ MobileComponents.ApplicationWindow {
stackView.push(prefsWindow)
}
},
-
+ Action {
+ text: "Back to Divelist"
+ onTriggered: {
+ stackView.pop()
+ }
+ },
MobileComponents.ActionGroup {
text: "Manage dives"
Action {