diff --git a/plugins/feature/map/map/map_6.qml b/plugins/feature/map/map/map_6.qml index 08145323d..a39abe705 100644 --- a/plugins/feature/map/map/map_6.qml +++ b/plugins/feature/map/map/map_6.qml @@ -275,7 +275,7 @@ Item { anchors.fill: parent hoverEnabled: true acceptedButtons: Qt.LeftButton | Qt.RightButton - onClicked: { + onClicked: (mouse) => { if (mouse.button === Qt.LeftButton) { selected = !selected if (selected) { @@ -320,7 +320,7 @@ Item { anchors.fill: parent hoverEnabled: true acceptedButtons: Qt.LeftButton | Qt.RightButton - onClicked: { + onClicked: (mouse) => { if (mouse.button === Qt.LeftButton) { selected = !selected if (selected) {