mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Merge pull request #5308 from davep/fix-tree-typo
Correct a typo in Tree.add
This commit is contained in:
@@ -374,7 +374,7 @@ class TreeNode(Generic[TreeDataType]):
|
||||
before: Optional index or `TreeNode` to add the node before.
|
||||
after: Optional index or `TreeNode` to add the node after.
|
||||
expand: Node should be expanded.
|
||||
allow_expand: Allow use to expand the node via keyboard or mouse.
|
||||
allow_expand: Allow user to expand the node via keyboard or mouse.
|
||||
|
||||
Returns:
|
||||
A new Tree node
|
||||
|
||||
Reference in New Issue
Block a user