From 87735cf9d77e7c64326298ae77259443e09d92fa Mon Sep 17 00:00:00 2001 From: Vitor Vieira <155513369+VitorVieiraZ@users.noreply.github.com> Date: Fri, 26 Jul 2024 10:41:47 -0300 Subject: [PATCH] Fixing app freeze related to MMBaseSingleLineInput (#3539) * fixing first method to reproduce issue * fixing second method to reproduce issue * reverting forceActiveFocus --- app/qml/components/private/MMBaseSingleLineInput.qml | 2 +- app/qml/form/editors/MMFormGalleryEditor.qml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/qml/components/private/MMBaseSingleLineInput.qml b/app/qml/components/private/MMBaseSingleLineInput.qml index a0c124dc3..b1f818e67 100644 --- a/app/qml/components/private/MMBaseSingleLineInput.qml +++ b/app/qml/components/private/MMBaseSingleLineInput.qml @@ -92,7 +92,7 @@ MMBaseInput { radius: __style.radius12 RowLayout { - anchors .fill: parent + anchors.fill: parent spacing: __style.margin12 diff --git a/app/qml/form/editors/MMFormGalleryEditor.qml b/app/qml/form/editors/MMFormGalleryEditor.qml index 2008dcf4a..765918f3e 100644 --- a/app/qml/form/editors/MMFormGalleryEditor.qml +++ b/app/qml/form/editors/MMFormGalleryEditor.qml @@ -91,9 +91,7 @@ MMPrivateComponents.MMBaseInput { MMComponents.MMSingleClickMouseArea { anchors.fill: parent - onSingleClicked: { - root.createLinkedFeature( root._fieldFeatureLayerPair, root._fieldAssociatedRelation ) - } + onSingleClicked: root.createLinkedFeature( root._fieldFeatureLayerPair, root._fieldAssociatedRelation ) } }