mobile: correct comboProduct if model changes

update  onModelChanged in comboProduct to read the
current index

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-06-05 11:01:45 +02:00 committed by Dirk Hohndel
parent 771bd4bce4
commit 487a4b2c32

View file

@ -127,7 +127,7 @@ Kirigami.Page {
}
onModelChanged: {
currentIndex = productidx
currentIndex = downloadThread.data().getDetectedProductIndex(comboVendor.currentText)
}
}
Controls.Label { text: qsTr(" Connection:") }