forked from qt-creator/qt-creator
QmlDesigner: Increase the compression timer for SpinBox
Change-Id: I8fe7b2b3645d053255b2486e0584f7f16f77997c Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
868b07853d
commit
1a4aedf568
@@ -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: {
|
||||
|
Reference in New Issue
Block a user