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

Fix index error due to missing previously selected shapes in current image #1503

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ynjxsjmh
Copy link

@Ynjxsjmh Ynjxsjmh commented Sep 29, 2024

The problem (#1396) can be reproduced by selecting a shape in current image a, and go on next image b then press backspace to delete point. self.selectedShapes is in image a thus it doesn't exist in any shapes in image b.

Another possible solution is to clear selected shapes after loading a new image, but user may want to go back to original image and use those selected shapes.

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.

1 participant