summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2021-11-02 14:35:15 +0300
committerYuri Sizov <yuris@humnom.net>2021-11-02 14:35:15 +0300
commit67cbca341a995ac641086df598720796da698b02 (patch)
treec9587209264fe66183454fe47cec40cbdf4e152c /doc
parent87727f70ed5316253407e4435a1ea1fb379d1b80 (diff)
Add a flag to EditorResourcePicker to differentiate selection contexts
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/EditorResourcePicker.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/EditorResourcePicker.xml b/doc/classes/EditorResourcePicker.xml
index 9c490cbb3e..b26b6f9527 100644
--- a/doc/classes/EditorResourcePicker.xml
+++ b/doc/classes/EditorResourcePicker.xml
@@ -62,8 +62,9 @@
</signal>
<signal name="resource_selected">
<argument index="0" name="resource" type="Resource" />
+ <argument index="1" name="edit" type="bool" />
<description>
- Emitted when the resource value was set and user clicked to edit it.
+ Emitted when the resource value was set and user clicked to edit it. When [code]edit[/code] is [code]true[/code], the signal was caused by the context menu "Edit" option.
</description>
</signal>
</signals>