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>
This commit is contained in:
Dirk Hohndel 2015-12-26 17:06:52 -08:00
parent 9db615a004
commit 763986b683

View file

@ -50,6 +50,7 @@ MobileComponents.ApplicationWindow {
text: "Add dive manually"
onTriggered: {
manager.addDive();
detailsWindow.state = "edit"
stackView.push(detailsWindow)
}
}