diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2019-07-02 11:09:54 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2019-07-02 16:21:40 +0000 |
commit | 1a4aedf5681ee175d2e2cb46778c3b31bd94e949 (patch) | |
tree | d197152d746c691e3f8f8a391146a04ee9594107 /share | |
parent | 868b07853d225a4918b05560723c1c3e8cab5586 (diff) |
QmlDesigner: Increase the compression timer for SpinBox
Change-Id: I8fe7b2b3645d053255b2486e0584f7f16f77997c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml index 5213c09d95b..68ad7f6aa6d 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml @@ -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: { |