Skip to content

Commit

Permalink
more freezing cases fix in formPage
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed Jun 19, 2024
1 parent 82b4574 commit 3946b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/qml/components/MMToolbar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Rectangle {

onClicked: {
// Prevent freezing by clearing focus from all elements
// See more at https://github.com/MerginMaps/mobile/issues/3389
// Issues #3389 and #3483
root.forceActiveFocus()
root.index = model.index
model.btnData.clicked()
Expand Down
5 changes: 1 addition & 4 deletions app/qml/form/MMFormPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,7 @@ Page {
text: qsTr( "Edit geometry" )
iconSource: __style.editIcon
visible: root.layerIsSpatial
onClicked: {
root.forceActiveFocus() // clear focus from all elements to prevent freezing #3483
root.editGeometryRequested( root.controller.featureLayerPair )
}
onClicked: root.editGeometryRequested( root.controller.featureLayerPair )
}
}

Expand Down

1 comment on commit 3946b87

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 24.6.635011 just submitted!

Please sign in to comment.