From 763986b683324effd86157ddec8951e74406dac7 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 26 Dec 2015 17:06:52 -0800 Subject: 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 --- qt-mobile/qml/main.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-mobile/qml') 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) } } -- cgit v1.2.3-70-g09d2