Skip to content

Commit

Permalink
Fixed app freezing when feature edit was canceled
Browse files Browse the repository at this point in the history
  • Loading branch information
iiLubos committed Sep 21, 2023
1 parent 6c26ba4 commit 47af783
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/qml/editor/inputtextedit.qml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ AbstractEditor {
}

editorValueChanged( val, val === "" )
}

onPreeditTextChanged: if ( __androidUtils.isAndroid ) Qt.inputMethod.commit() // to avoid Android's uncommited text
if ( __androidUtils.isAndroid ) Qt.inputMethod.commit() // to avoid Android's uncommited text
}
}
}
2 changes: 2 additions & 0 deletions app/qml/form/FeatureForm.qml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ Item {
form.controller.deleteFeature()
}

parent.focus = true

// rollback all changes if the layer is still editable
form.controller.rollback()

Expand Down

1 comment on commit 47af783

@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 23.09.457211 just submitted!

Please sign in to comment.