You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this little illustration of how a Tree's nodes' labels can be updated on the fly, the actual updates don't show until some other interaction with the Tree takes place (moving the cursor, causing a mouse hover event, etc):
In this little illustration of how a
Tree
's nodes' labels can be updated on the fly, the actual updates don't show until some other interaction with theTree
takes place (moving the cursor, causing a mouse hover event, etc):adding a
self.query_one( Tree ).refresh()
to the end ofaction_add
fixes it so the update of the label is reflected right away.TreeNode.set_label
should probably be changed to cause theTree
to perform arefresh
.The text was updated successfully, but these errors were encountered: