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 <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Henrik Brautaset Aronsen 2016-01-25 15:24:26 +01:00 committed by Dirk Hohndel
parent 3a33deeace
commit bf2db7f673

View file

@ -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 {