summaryrefslogtreecommitdiff
path: root/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml')
-rw-r--r--share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml
index 6623e3a251..bb8285e53e 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml
@@ -22,7 +22,7 @@ GroupBox {
}
}
QWidget {
- property var isEnabled: isBaseState
+ property variant isEnabled: isBaseState
onIsEnabledChanged: idLineEdit.setStyleSheet("color: "+(isEnabled?scheme.defaultColor:scheme.disabledColor));
ColorScheme{ id:scheme }