From 487a4b2c322d0f5c9f8eb4dd5d5f239dbf253abc Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Tue, 5 Jun 2018 11:01:45 +0200 Subject: mobile: correct comboProduct if model changes update onModelChanged in comboProduct to read the current index Signed-off-by: Jan Iversen --- mobile-widgets/qml/DownloadFromDiveComputer.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets') 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:") } -- cgit v1.2.3-70-g09d2