Skip to content
Snippets Groups Projects
Commit 3606e0c5 authored by Prince Gupta's avatar Prince Gupta :speech_balloon: Committed by Felix Paul Kühne
Browse files

qml: only signal itemClicked on pressing left button in GridItem

parent 5afeb5aa
No related branches found
No related tags found
1 merge request!5426qml: remove unused params from signals of GridItem
......@@ -191,7 +191,7 @@ T.ItemDelegate {
onClicked: (mouse) => {
if (mouse.button === Qt.RightButton)
contextMenuButtonClicked(picture, root.mapToGlobal(mouse.x,mouse.y));
else {
else if (mouse.button === Qt.LeftButton) {
root.itemClicked(picture, mouse.button, mouse.modifiers);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment