diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml
index 14ebc241b0416c94d02ea73597fc18be247f9e1d..ac65579217550f161e876425adf7b5d52b6be44d 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml
@@ -66,7 +66,7 @@ QWidget { //This is a special spinBox that does color coding for states
         QSpinBox {
             property alias backendValue: spinBox.backendValue
 			
-			enabled: !backendValue.isBound && doubleSpinBox.enabled;
+			enabled: !backendValue.isBound && spinBox.enabled;
 
             keyboardTracking: false;
             id: box;