diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml
index b32f63cbb455bf0a9c1f35f1839c091a7348a99d..733008e48568dbed4378ee94eae31d6869cdf7c1 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/SpinBox.qml
@@ -91,7 +91,6 @@ QWidget { //This is a special spinBox that does color coding for states
                 transaction.end();
             }
             onEditingFinished: {
-                focus = false;
             }
         }
     }