mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
QML UI: reset completion fields when adding dive
Otherwise the last value in those fields might still be shown. Also, set up the cylinder completion. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6a50efd80a
commit
052be692bb
3 changed files with 14 additions and 0 deletions
|
@ -83,15 +83,21 @@ Kirigami.ApplicationWindow {
|
|||
detailsWindow.watertemp = ""
|
||||
detailsWindow.buddyModel = manager.buddyInit
|
||||
detailsWindow.buddyIndex = -1
|
||||
detailsWindow.buddyText = ""
|
||||
detailsWindow.depth = ""
|
||||
detailsWindow.divemasterModel = manager.divemasterInit
|
||||
detailsWindow.divemasterIndex = -1
|
||||
detailsWindow.divemasterText = ""
|
||||
detailsWindow.notes = ""
|
||||
detailsWindow.location = ""
|
||||
detailsWindow.gps = ""
|
||||
detailsWindow.duration = ""
|
||||
detailsWindow.suitModel = manager.suitInit
|
||||
detailsWindow.suitIndex = -1
|
||||
detailsWindow.suitText = ""
|
||||
detailsWindow.cylinderModel = manager.cylinderInit
|
||||
detailsWindow.cylinderIndex = -1
|
||||
detailsWindow.cylinderText = ""
|
||||
detailsWindow.weight = ""
|
||||
detailsWindow.gasmix = ""
|
||||
detailsWindow.startpressure = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue