diff --git a/app/qml/form/components/photo/MMPhotoAttachment.qml b/app/qml/form/components/photo/MMPhotoAttachment.qml index c5ecd8f2dc..255204539c 100644 --- a/app/qml/form/components/photo/MMPhotoAttachment.qml +++ b/app/qml/form/components/photo/MMPhotoAttachment.qml @@ -63,9 +63,9 @@ Rectangle { } } - MouseArea { + MMComponents.MMSingleClickMouseArea{ anchors.fill: parent - onClicked: root.capturePhotoClicked() + onSingleClicked: root.capturePhotoClicked() } } @@ -102,9 +102,9 @@ Rectangle { } } - MouseArea { + MMComponents.MMSingleClickMouseArea{ anchors.fill: parent - onClicked: root.chooseFromGalleryClicked() + onSingleClicked: root.chooseFromGalleryClicked() } } }