diff options
Diffstat (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml')
-rw-r--r-- | mobile-widgets/qml/DownloadFromDiveComputer.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml index b05c1fc9f..8b9f642ff 100644 --- a/mobile-widgets/qml/DownloadFromDiveComputer.qml +++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml @@ -57,11 +57,11 @@ Kirigami.Page { id: comboVendor Layout.fillWidth: true model: vendorList - currentIndex: manager.getVendorIndex() + currentIndex: downloadThread.data().getDetectedVendorIndex() onCurrentTextChanged: { - comboProduct.model = manager.getDCListFromVendor(comboVendor.currentText) - if (currentIndex == manager.getVendorIndex()) - comboProduct.currentIndex = manager.getProductIndex() + comboProduct.model = downloadThread.data().getProductListFromVendor(comboVendor.currentText) + if (currentIndex == downloadThread.data().getDetectedVendorIndex()) + comboProduct.currentIndex = downloadThread.data().getDetectedProductIndex() } } Kirigami.Label { text: qsTr(" Dive Computer:") } @@ -74,7 +74,7 @@ Kirigami.Page { Kirigami.Label { text: qsTr("Bluetooth download:") } CheckBox { id: isBluetooth - checked: manager.getVendorIndex() != -1 + checked: downloadThread.data().getDetectedVendorIndex() != -1 } } |