summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetailsEdit.qml
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2016-05-20 18:48:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-05-21 07:01:53 -0700
commita6c8d0028e946b4713f5fe8c083cf728f086b3b8 (patch)
tree9045097692331e204ab861dda4180dc149de9132 /mobile-widgets/qml/DiveDetailsEdit.qml
parent80274b09689dff727ffe60f9b31faab4622dbc0b (diff)
downloadsubsurface-a6c8d0028e946b4713f5fe8c083cf728f086b3b8.tar.gz
Make autocomplete work on add dive
This sets the list models for autocompleting suit, buddy and divemaster. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveDetailsEdit.qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsEdit.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml
index 5b582d11e..ad62997df 100644
--- a/mobile-widgets/qml/DiveDetailsEdit.qml
+++ b/mobile-widgets/qml/DiveDetailsEdit.qml
@@ -26,6 +26,9 @@ Item {
property alias endpressureText: txtEndPressure.text
property alias gasmixText: txtGasMix.text
property alias gpsCheckbox: checkboxGPS.checked
+ property alias suitModel: suitBox.model
+ property alias divemasterModel: divemasterBox.model
+ property alias buddyModel: buddyBox.model
function saveData() {
// apply the changes to the dive_table