summaryrefslogtreecommitdiff
path: root/doc/classes/OptionButton.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/OptionButton.xml')
-rw-r--r--doc/classes/OptionButton.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/OptionButton.xml b/doc/classes/OptionButton.xml
index 8cb53dd98e..c58c932b61 100644
--- a/doc/classes/OptionButton.xml
+++ b/doc/classes/OptionButton.xml
@@ -18,7 +18,7 @@
</argument>
<argument index="1" name="label" type="String">
</argument>
- <argument index="2" name="id" type="int">
+ <argument index="2" name="id" type="int" default="-1">
</argument>
<description>
Add an item, with a "texture" icon, text "label" and (optionally) id. If no "id" is passed, "id" becomes the item index. New items are appended at the end.