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

Selecting first image attachment selects the last one #33

Open
JeanGarf opened this issue Oct 22, 2024 · 1 comment
Open

Selecting first image attachment selects the last one #33

JeanGarf opened this issue Oct 22, 2024 · 1 comment

Comments

@JeanGarf
Copy link

ANOMALY
When many images have been dropped to attachments Panel, clicking on the first image highlights the last one.

ANALYZE
In setAttachments(), only one AttachmentVisitor is created, which therefore store only the last added image

SOLUTION
In setAttachments(), create a new visitor for each attachment

@ThierryCommits
Copy link

Done in commit 6e19286b0e2dd634bfccbedadfdf052269b22000

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

2 participants