-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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 Tree check propagation not unchecking parent items #79946
Conversation
3e2a607
to
214440d
Compare
@AThousandShips I've updated the PR, have a look. |
214440d
to
24dbd47
Compare
I tested the newest version of this PR and it doesn't fix the issue. |
24dbd47
to
2673f70
Compare
2673f70
to
cf91caf
Compare
@KoBeWi @AThousandShips Actually I've tested the issue then updated the PR, in my local build it was working. But I think I found that the issue now : Lines 186 to 188 in 031aa99
when the check is already false, set by the set_indeterminate function. I'm passing any_checked which is false in case of no child selected, it won't continue to set the indeterminate to false. Line 191 in 031aa99
I think the changes I made now should fix the issue. |
cf91caf
to
f0362cd
Compare
Thanks! And congrats on your first merged Godot PR! |
This PR focuses on
4.x
branches and resolves a tree selection bug that exists in various application sections, including theme editor, asset installation and import. The bug caused problems with deselecting parents when all children were deselected.Fixes : #79942
2023-07-27.13-12-03.1.mp4
Additionally, tested the bug in the
3.5.2
stable version, where parents are automatically checked if any child is selected, and there is no indeterminate check in that version.