summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/controls/SpinBox.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/SpinBox.qml b/src/controls/SpinBox.qml
index f13e81dc4..bb3cc78be 100644
--- a/src/controls/SpinBox.qml
+++ b/src/controls/SpinBox.qml
@@ -309,6 +309,8 @@ Control {
}
onAccepted: {
input.text = validator.text
+ Qt.inputMethod.commit()
+ Qt.inputMethod.hide()
selectValue()
}