summaryrefslogtreecommitdiff
path: root/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml
diff options
context:
space:
mode:
authorHenning Gruendl <henning.gruendl@qt.io>2019-08-30 17:17:08 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-09-02 07:36:36 +0000
commit9af2563a69cf713fe68e51cfdf6a10287e58f662 (patch)
tree6ae1738f9780a909a1c56c684f803918d99c4d41 /share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml
parent330126af1e69190628c7c4e90b2386fc82db7fcb (diff)
downloadqt-creator-9af2563a69cf713fe68e51cfdf6a10287e58f662.tar.gz
QmlDesigner: Fix SpinBox DragHandler issue
Fixes an issue of the RealSpinBox DragHandler where the value compression timer, which is responsible to trigger a write to the backend, wasn't triggered anymore, because the SpinBox had no focus after ending the drag operation. Change-Id: Ibdf02856c96b997db20c3019438f9645fa853e75 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml')
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml
index 3f0d1296e5..39cd51d288 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBox.qml
@@ -71,6 +71,8 @@ T.SpinBox {
property real __sliderIndicatorWidth: StudioTheme.Values.squareComponentWidth
property real __sliderIndicatorHeight: StudioTheme.Values.height
+ property alias compressedValueTimer: myTimer
+
signal realValueModified
signal compressedRealValueModified
signal dragStarted