From cd68d0f7c33f962668571a3b87519cbe1038f25e Mon Sep 17 00:00:00 2001 From: VitorVieiraZ Date: Wed, 10 Jul 2024 14:31:36 -0300 Subject: [PATCH] adding new SingleClickMouseArea to photo procedures --- app/qml/form/components/photo/MMPhotoAttachment.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() } } }