summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/controls/SpinBox.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/SpinBox.qml b/src/controls/SpinBox.qml
index 826d9002..26ba41b0 100644
--- a/src/controls/SpinBox.qml
+++ b/src/controls/SpinBox.qml
@@ -261,6 +261,7 @@ Control {
horizontalAlignment: spinbox.horizontalAlignment
verticalAlignment: __panel ? __panel.verticalAlignment : Qt.AlignVCenter
selectByMouse: activeFocus || activeFocusOnPress
+ inputMethodHints: Qt.ImhFormattedNumbersOnly
validator: SpinBoxValidator {
id: validator