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

TreeItem.deselect() doesn't work if select_mode is Tree.SELECT_ROW #71306

Closed
eskandrej opened this issue Jan 13, 2023 · 0 comments · Fixed by #71307
Closed

TreeItem.deselect() doesn't work if select_mode is Tree.SELECT_ROW #71306

eskandrej opened this issue Jan 13, 2023 · 0 comments · Fixed by #71307
Milestone

Comments

@eskandrej
Copy link
Contributor

Godot version

v4.0.beta.custom_build [3cc926bf7]

System information

Windows 10, NVIDIA GeForce GTX 760

Issue description

If Tree Control select_mode is set to SELECT_ROW, TreeItem.deselect() will not deselect selected item.

Steps to reproduce

Add Tree Control to scene and set select_mode to SELECT_ROW. Create TreeItem and Button to deselect. Run scene and select item in Tree. Use Tree.get_selected() and on that deselect().

Minimal reproduction project

Tree_bug_example.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants