mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 11:13:24 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ MobileComponents.ApplicationWindow {
|
|||
text: "Add dive manually"
|
||||
onTriggered: {
|
||||
manager.addDive();
|
||||
detailsWindow.state = "edit"
|
||||
stackView.push(detailsWindow)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue