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

Problems occur when cancel is pressed on feature map #228

Closed
chrisala opened this issue Jan 31, 2024 · 0 comments
Closed

Problems occur when cancel is pressed on feature map #228

chrisala opened this issue Jan 31, 2024 · 0 comments
Assignees

Comments

@chrisala
Copy link
Collaborator

To reproduce:

  • Draw a shape using the feature map. Press OK.
  • Press the shape you just drew to edit it.
  • When the map shows, press Cancel.
  • Press the shape again to edit it.
  • Without making changes, press OK.

Expected:

  • The shape is unchanged.

Actual:

  • The shape is deleted. This is because the event handler isn't removed when cancel is pressed, so the next time OK is pressed the event handler fires twice, but in between the shape has been cleared for the next use of the map.
@chrisala chrisala self-assigned this Jan 31, 2024
chrisala added a commit that referenced this issue Jan 31, 2024
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

No branches or pull requests

1 participant