Merge pull request #60791 from kleonc/tree-item_edited-docs-fix
This commit is contained in:
commit
07b844e5b9
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@
|
|||
Returns the currently edited item. Can be used with [signal item_edited] to get the item that was modified.
|
||||
[codeblock]
|
||||
func _ready():
|
||||
$Tree.item_edited.connect(on_Tree_item_edited)
|
||||
$Tree.connect("item_edited", self, "on_Tree_item_edited")
|
||||
|
||||
func on_Tree_item_edited():
|
||||
print($Tree.get_edited()) # This item just got edited (e.g. checked).
|
||||
|
|
Loading…
Reference in a new issue