Skip to content
New issue

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

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

Already on GitHub? # to your account

Selecting a new item will trigger the CurrentItemChanged event 2 times #3

Open
lxchx opened this issue Dec 22, 2020 · 1 comment
Open

Comments

@lxchx
Copy link

lxchx commented Dec 22, 2020

The reason why is that in TreeItem.setSelectionFlag you change the currentItem 2 times.

@lxchx
Copy link
Author

lxchx commented Dec 22, 2020

And selecting the currentItem will trigger the CurrentItemChanged event which should not be triggered.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant