Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.0
-
None
-
1982d1b1aa55ae44a1a775a5745e5c2f11001398 (qt/qtdeclarative/5.12)
Description
Setting acceptedButtons in the following example doesn't work. You can still drag by pressing the right mouse button.
DragHandler {
target: null
enabled: mouseEnabled
acceptedButtons: Qt.LeftButton
onCentroidChanged: {
print(centroid.pressedButtons)
}
}
Attachments
Issue Links
- duplicates
-
QTBUG-76582 Bug on DragHandler with mouse buttons
- Closed