From bf2db7f673fc160aa1b0a514a6d33e5212fb9d7c Mon Sep 17 00:00:00 2001 From: Henrik Brautaset Aronsen Date: Mon, 25 Jan 2016 15:24:26 +0100 Subject: [PATCH] Move dive list menu entry to top I guess the Dive list item will be accessed more often than the preferences item, so put it to to. Also remove the "back to" prefix. Signed-off-by: Henrik Brautaset Aronsen Signed-off-by: Dirk Hohndel --- qt-mobile/qml/main.qml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml index bbc72f3ec..4422d5b07 100644 --- a/qt-mobile/qml/main.qml +++ b/qt-mobile/qml/main.qml @@ -26,6 +26,14 @@ MobileComponents.ApplicationWindow { bannerImageSource: "dive.jpg" actions: [ + Action { + text: "Dive list" + onTriggered: { + for (var i=stackView.depth; i>1; i--) { + stackView.pop() + } + } + }, Action { text: "Cloud credentials" onTriggered: { @@ -38,14 +46,6 @@ MobileComponents.ApplicationWindow { stackView.push(prefsWindow) } }, - Action { - text: "Back to Divelist" - onTriggered: { - for (var i=stackView.depth; i>1; i--) { - stackView.pop() - } - } - }, MobileComponents.ActionGroup { text: "Manage dives" Action {