From 052be692bbfe81636318588f48b2530c9628499d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 14 Apr 2017 17:09:09 -0700 Subject: 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 --- mobile-widgets/qml/DiveDetailsEdit.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mobile-widgets/qml/DiveDetailsEdit.qml') diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml index 6c59b5eaf..0976755b4 100644 --- a/mobile-widgets/qml/DiveDetailsEdit.qml +++ b/mobile-widgets/qml/DiveDetailsEdit.qml @@ -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 -- cgit v1.2.3-70-g09d2