Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure new models are only created if they are not already open #681

Merged
merged 1 commit into from
May 1, 2024

Conversation

geographika
Copy link
Collaborator

This fixes a bug where if a user clicks twice on the same vector feature, and then closes the window a feature remains on the map.

This is because a model is created on each click, and applied to the open form, but the previous model is not destroyed and so the feature is "orphaned".

@geographika geographika merged commit 4ce68c6 into compassinformatics:master May 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant