Index: sources/gui/qml/components/BaseComboBox.qml =================================================================== diff -u -rec53ffe0a1528ace958cfe347875b7bcd25bed57 -r36981dc04fd7c25285975d4ba5ad8c1ddeb16028 --- sources/gui/qml/components/BaseComboBox.qml (.../BaseComboBox.qml) (revision ec53ffe0a1528ace958cfe347875b7bcd25bed57) +++ sources/gui/qml/components/BaseComboBox.qml (.../BaseComboBox.qml) (revision 36981dc04fd7c25285975d4ba5ad8c1ddeb16028) @@ -30,7 +30,6 @@ property int delegateHeight : height property bool canOff : false property bool centerHorizontally: false - property var itemsEnabled : Array(_root.count).fill(true) width : 300 displayText : _root.isActive ? currentText : Variables.emptyEntry @@ -40,8 +39,6 @@ signal clear() - onClear : { currentIndex = 0 } - contentItem: Text { id: _displayText text : canOff && parent.displayText === "0" ? qsTr("OFF") : parent.displayText color : Colors.offWhite @@ -62,11 +59,10 @@ width : _root.delegateWidth height : _root.delegateHeight highlighted : _root.highlightedIndex === index - enabled : _root.itemsEnabled[index] contentItem: Text { text : canOff && modelData === "0" ? qsTr("OFF") : modelData - color : enabled ? Colors.offWhite : Colors.textDisableButton + color : Colors.offWhite font : _root.font verticalAlignment : Text.AlignVCenter horizontalAlignment : centerHorizontally ? Text.AlignHCenter : undefined