diff options
author | jan Iversen <jani@libreoffice.org> | 2018-06-05 11:01:45 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-07 18:43:56 +0200 |
commit | 487a4b2c322d0f5c9f8eb4dd5d5f239dbf253abc (patch) | |
tree | 36fca76c9a465587cc3f2b68c5a58818baca3584 /mobile-widgets/qml | |
parent | 771bd4bce463e65199e1a065137e479c7d977b36 (diff) | |
download | subsurface-487a4b2c322d0f5c9f8eb4dd5d5f239dbf253abc.tar.gz |
mobile: correct comboProduct if model changes
update onModelChanged in comboProduct to read the
current index
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/DownloadFromDiveComputer.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index 8ee898014..df9faeb4c 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -127,7 +127,7 @@ Kirigami.Page { } onModelChanged: { - currentIndex = productidx + currentIndex = downloadThread.data().getDetectedProductIndex(comboVendor.currentText) } } Controls.Label { text: qsTr(" Connection:") } |