Commit 4a2ca3f9 authored by Martin Höher's avatar Martin Höher

Fix: Context menu in library page

parent e8048319
Pipeline #50073098 passed with stages
in 12 minutes and 19 seconds
......@@ -34,7 +34,11 @@ Item {
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: item.clicked()
onClicked: {
if (mouse.button === Qt.LeftButton) {
item.clicked()
}
}
onPressAndHold: reorderOverlay.startDrag()
onReleased: item.released(mouse)
}
......
......@@ -66,7 +66,11 @@ Item {
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: item.clicked()
onClicked: {
if (mouse.button === Qt.LeftButton) {
item.clicked()
}
}
onPressAndHold: reorderOverlay.startDrag()
onReleased: item.released(mouse)
}
......
......@@ -98,7 +98,11 @@ Item {
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton
onClicked: item.clicked()
onClicked: {
if (mouse.button === Qt.LeftButton) {
item.clicked()
}
}
onPressAndHold: reorderOverlay.startDrag()
onReleased: item.released(mouse)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment