diff --git a/src/controls/SpinBox.qml b/src/controls/SpinBox.qml
index bb3cc78be57db7b378454d0c1cba76b6d04a51ae..f13e81dc4308cec5a2a254509073f1142920f0da 100644
--- a/src/controls/SpinBox.qml
+++ b/src/controls/SpinBox.qml
@@ -309,8 +309,6 @@ Control {
         }
         onAccepted: {
             input.text = validator.text
-            Qt.inputMethod.commit()
-            Qt.inputMethod.hide()
             selectValue()
         }