summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Gruendl <henning.gruendl@qt.io>2019-11-27 15:21:48 +0100
committerHenning Gründl <henning.gruendl@qt.io>2019-11-27 15:12:09 +0000
commit2ebffd3eaf4e2660dfe6c6fc5c8328c682fae351 (patch)
tree02efce5eccc439ce8b15e7ba81968ddeaa5af857
parentb2f5ed78e187fe57308549dde306563c7a9520e3 (diff)
downloadqt-creator-2ebffd3eaf4e2660dfe6c6fc5c8328c682fae351.tar.gz
QmlDesigner: Fix RealSpinBoxInput
Fixes RealSpinBoxInput scroll behavior. Without this change the RealSpinBox would block the ScrollView from getting mouse wheel events, which means whenever the mouse is hovering over a RealSpinBox the ScrollView can't be scrolled via the mouse wheel. Change-Id: I4533e36700fc2652a9c246a0e30613c71258edaf Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBoxInput.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBoxInput.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBoxInput.qml
index 72a713c282..98c592f112 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBoxInput.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/RealSpinBoxInput.qml
@@ -193,6 +193,7 @@ TextInput {
PropertyChanges {
target: mouseArea
cursorShape: Qt.PointingHandCursor
+ enabled: false
}
},
State {