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
|
|
@ -15,9 +15,13 @@ Item {
|
|||
property alias airtempText: txtAirTemp.text
|
||||
property alias watertempText: txtWaterTemp.text
|
||||
property alias suitIndex: suitBox.currentIndex
|
||||
property alias suitText: suitBox.text
|
||||
property alias buddyIndex: buddyBox.currentIndex
|
||||
property alias buddyText: buddyBox.text
|
||||
property alias divemasterIndex: divemasterBox.currentIndex
|
||||
property alias divemasterText: divemasterBox.text
|
||||
property alias cylinderIndex: cylinderBox.currentIndex
|
||||
property alias cylinderText: cylinderBox.text
|
||||
property alias notesText: txtNotes.text
|
||||
property alias durationText: txtDuration.text
|
||||
property alias depthText: txtDepth.text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue