forked from qt-creator/qt-creator
QmlDesigner: Fix SpinBoxes blocking wheel events
Change-Id: I99a30926e65805c6198786f46c65392b65f52d65 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
8b8f7dca4d
commit
4d4fce3cfe
@@ -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)
|
||||
|
Reference in New Issue
Block a user