Don't open context menus when touching on a delegate

This commit is contained in:
Tobias Fella
2022-11-10 23:01:46 +01:00
parent 3eb1080129
commit 957ebb5502
2 changed files with 1 additions and 1 deletions

View File

@@ -88,7 +88,6 @@ TimelineContainer {
TapHandler {
acceptedButtons: Qt.LeftButton
onLongPressed: openFileContext(model, parent)
onTapped: {
img.ToolTip.hide()
fullScreenImage.open()

View File

@@ -316,6 +316,7 @@ QQC2.ItemDelegate {
TapHandler {
acceptedButtons: Qt.RightButton
acceptedDevices: PointerDevice.Mouse
onTapped: timelineContainer.openContextMenu()
}