From 996367ac971d93f8646ef04dc8f8cb8eec88171f Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Fri, 22 Jan 2016 13:02:53 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-mobile/qml/main.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'qt-mobile/qml/main.qml') 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 { -- cgit v1.2.3-70-g09d2