diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-26 17:06:52 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-26 17:06:52 -0800 |
commit | 763986b683324effd86157ddec8951e74406dac7 (patch) | |
tree | d8ea9e739317c11d45a586205cf0f039881346dd | |
parent | 9db615a0048661cfc45ba4227b2a7f493d6468e2 (diff) | |
download | subsurface-763986b683324effd86157ddec8951e74406dac7.tar.gz |
QML UI: when adding a dive, start in edit mode
Obviously we don't want to "view" a new dive, we want to "edit" it.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-mobile/qml/main.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml index 30e79e22c..eadd220a3 100644 --- a/qt-mobile/qml/main.qml +++ b/qt-mobile/qml/main.qml @@ -50,6 +50,7 @@ MobileComponents.ApplicationWindow { text: "Add dive manually" onTriggered: { manager.addDive(); + detailsWindow.state = "edit" stackView.push(detailsWindow) } } |