QmlDesigner: Fix SpinBoxes blocking wheel events

Change-Id: I99a30926e65805c6198786f46c65392b65f52d65
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2021-07-14 13:33:23 +02:00
committed by Henning Gründl
parent 8b8f7dca4d
commit 4d4fce3cfe

View File

@@ -214,8 +214,10 @@ TextInput {
}
onWheel: function(wheel) {
if (!myControl.__wheelEnabled)
if (!myControl.__wheelEnabled) {
wheel.accepted = false
return
}
// Set stepSize according to used modifier key
if (wheel.modifiers & Qt.ControlModifier)