QmlDesigner: Increase the compression timer for SpinBox

Change-Id: I8fe7b2b3645d053255b2486e0584f7f16f77997c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2019-07-02 11:09:54 +02:00
committed by Tim Jenssen
parent 868b07853d
commit 1a4aedf568

View File

@@ -240,7 +240,7 @@ T.SpinBox {
id: myTimer
repeat: false
running: false
interval: 100
interval: 200
onTriggered: mySpinBox.compressedRealValueModified()
}
@@ -250,6 +250,7 @@ T.SpinBox {
// the indicator will be disabled due to range logic.
}
onRealValueModified: myTimer.restart()
onFocusChanged: mySpinBox.setValueFromInput()
onDisplayTextChanged: spinBoxInput.text = mySpinBox.displayText
onActiveFocusChanged: {