aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DownloadFromDiveComputer.qml
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-05-12 18:29:45 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-27 11:07:19 -0700
commit0e4c996f5189b3c364db73075ae009028a28c390 (patch)
tree8145cf8f78472b720c5d0d3aef61fdc60028ce1d /mobile-widgets/qml/DownloadFromDiveComputer.qml
parentf78fdf3d0fea3a426f07f24d0ce2d98a1cae0bf0 (diff)
downloadsubsurface-0e4c996f5189b3c364db73075ae009028a28c390.tar.gz
QML UI: Fill the product list
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml8
1 files changed, 7 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index 5788ab571..ecab94774 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -37,10 +37,16 @@ Kirigami.Page {
columns: 2
Kirigami.Label { text: qsTr(" Vendor name: ") }
ComboBox {
+ id: comboVendor
Layout.fillWidth: true
model: vendorList
}
- Kirigami.Label { text: qsTr(" Dive Computer:") } ComboBox { Layout.fillWidth: true }
+ Kirigami.Label { text: qsTr(" Dive Computer:") }
+ ComboBox {
+ id: comboProduct
+ Layout.fillWidth: true
+ model: manager.getDCListFromVendor(comboVendor.currentText)
+ }
}
ProgressBar {