Skip to content

Commit

Permalink
Keep the feature form model alive when hiding form to digitize child …
Browse files Browse the repository at this point in the history
…geometry
  • Loading branch information
nirvn committed Nov 30, 2022
1 parent 930e073 commit 13f23dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/qml/FeatureForm.qml
Expand Up @@ -230,7 +230,9 @@ Page {
}

Repeater {
model: form.visible
// Note: digitizing a child geometry will temporarily hide the feature form,
// we need to preserve items so signal connections are kept alive
model: form.visible || form.digitizingToolbar.geometryRequested
? form.model.hasTabs
? contentModel
: form.model
Expand Down

1 comment on commit 13f23dc

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please sign in to comment.