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

TBaseVirtualTree.InitNode() overrides check state of top level nodes set in OnInitNode event handler #759

Closed
joachimmarder opened this issue Feb 14, 2018 · 0 comments
Assignees
Labels
Bug
Milestone

Comments

@joachimmarder
Copy link
Contributor

@joachimmarder joachimmarder commented Feb 14, 2018

The problem is that TBaseVirtualTree.InitNode() takes the check state of the parent node into account but does not exclude FRoot from this check. So it applies FRoot.CheckState to all top level nodes and so overrides the check state that was set in an OnInitNode event handler just before.

@joachimmarder joachimmarder self-assigned this Feb 14, 2018
@joachimmarder joachimmarder added the Bug label Feb 14, 2018
joachimmarder pushed a commit that referenced this issue Feb 14, 2018
…f top level nodes set in OnInitNode event handler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.