diff options
author | Zak Grumbles <zakgrumbles@gmail.com> | 2020-03-25 12:07:18 -0500 |
---|---|---|
committer | Zak Grumbles <zakgrumbles@gmail.com> | 2020-04-10 20:35:40 -0500 |
commit | a8de034f78198ba13fa7455d78e2ca31bb8b9f5f (patch) | |
tree | c535896c243e007eabe7a9f18be3e01627c4eaa9 /doc | |
parent | 8806e7d5f3e65a06be1b0a58dc73442e58fdf469 (diff) |
Fix OptionButton docs godotengine#36803
* item_selected and item_focused docs incorrectly had 'id' as the parameter. Changed to
'index'.
* Fix parameter name in ADD_SIGNAL callin code.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/OptionButton.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/OptionButton.xml b/doc/classes/OptionButton.xml index 5cb2aaf314..39d974ec47 100644 --- a/doc/classes/OptionButton.xml +++ b/doc/classes/OptionButton.xml @@ -214,14 +214,14 @@ </members> <signals> <signal name="item_focused"> - <argument index="0" name="id" type="int"> + <argument index="0" name="index" type="int"> </argument> <description> Emitted the when user navigates to an item using the [code]ui_up[/code] or [code]ui_down[/code] actions. The index of the item selected is passed as argument. </description> </signal> <signal name="item_selected"> - <argument index="0" name="id" type="int"> + <argument index="0" name="index" type="int"> </argument> <description> Emitted when the current item has been changed by the user. The index of the item selected is passed as argument. |