1
0
Fork 0

Merge pull request #109242 from Calinou/doc-tree-item-collapsed-signal

Document `Tree.item_collapsed` also being emitted when the item is expanded
This commit is contained in:
Thaddeus Crews 2025-08-06 12:01:20 -05:00
commit 68e38b5d9c
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 2 additions and 1 deletions

View File

@ -431,7 +431,8 @@
<signal name="item_collapsed">
<param index="0" name="item" type="TreeItem" />
<description>
Emitted when an item is collapsed by a click on the folding arrow.
Emitted when an item is expanded or collapsed by clicking on the folding arrow or through code.
[b]Note:[/b] Despite its name, this signal is also emitted when an item is expanded.
</description>
</signal>
<signal name="item_edited">