From e4131712a40ee8828c191c8cfdd9ad9b5ba0030e Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 2 Aug 2025 17:51:11 +0200 Subject: [PATCH] Document `Tree.item_collapsed` also being emitted when the item is expanded This also mentions that the signal is emitted even when the item is expanded/collapsed through code. --- doc/classes/Tree.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml index 7f15eb4b980..98f9ade68f6 100644 --- a/doc/classes/Tree.xml +++ b/doc/classes/Tree.xml @@ -431,7 +431,8 @@ - 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.