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:
parent
9db615a004
commit
763986b683
@ -50,6 +50,7 @@ MobileComponents.ApplicationWindow {
|
||||
text: "Add dive manually"
|
||||
onTriggered: {
|
||||
manager.addDive();
|
||||
detailsWindow.state = "edit"
|
||||
stackView.push(detailsWindow)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user