Index: sources/gui/qml/components/BaseComboBox.qml =================================================================== diff -u -rda2dbdbd92d099e44d11bbfb2b794d5ee19a0f0a -r40ddf63592b60608ae34aeb3099fe4e62ae45054 --- sources/gui/qml/components/BaseComboBox.qml (.../BaseComboBox.qml) (revision da2dbdbd92d099e44d11bbfb2b794d5ee19a0f0a) +++ sources/gui/qml/components/BaseComboBox.qml (.../BaseComboBox.qml) (revision 40ddf63592b60608ae34aeb3099fe4e62ae45054) @@ -28,6 +28,7 @@ property alias dropDownWidth : _popup.width property int delegateWidth : dropDownWidth property int delegateHeight : height + property int actualValue : 0 width : 300 displayText : _root.active ? currentText : Variables.emptyEntry @@ -43,6 +44,8 @@ active = false } + function sync () { currentIndex = actualValue } + contentItem: Text { id: _displayText text : parent.displayText color : Colors.offWhite @@ -52,7 +55,7 @@ } background: Rectangle { id: _background - color : Colors.highlightMedProgressBar + color : Colors.comboBoxDisplay radius : Variables.dialogRadius }