Fix opening context menus
This commit is contained in:
@@ -559,7 +559,6 @@ ColumnLayout {
|
||||
}
|
||||
|
||||
TapHandler {
|
||||
acceptedDevices: PointerDevice.Mouse
|
||||
acceptedButtons: Qt.RightButton
|
||||
onTapped: root.openContextMenu()
|
||||
}
|
||||
|
||||
@@ -156,7 +156,6 @@ QQC2.ToolBar {
|
||||
|
||||
TapHandler {
|
||||
acceptedButtons: Qt.RightButton | Qt.LeftButton
|
||||
acceptedDevices: PointerDevice.Mouse
|
||||
onTapped: (eventPoint, button) => {
|
||||
// TODO Qt6 remove
|
||||
if (!button) {
|
||||
|
||||
Reference in New Issue
Block a user