diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml index c2ad6ef76e6e7ac5f1d1d9de1039244801f6898e..81d08eabcad94b02df4e2e460cd902bc009f49eb 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml @@ -29,6 +29,7 @@ QWidget { //This is a special spinBox that does color coding for states Script { + function evaluate() { if (!enabled) { box.setStyleSheet("color: "+scheme.disabledColor); } else {