summaryrefslogtreecommitdiff
path: root/scene/gui/popup_menu.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-11-04 15:27:23 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-11-04 15:27:23 +0100
commit3abb5a9035d3333d77b9be55ce96d3d915d11011 (patch)
tree5f06547fe8ebf307904bdb76eb14d071b9ea6949 /scene/gui/popup_menu.cpp
parentc4f29b078ab18325dac3558bce9111f6a6870d90 (diff)
Add missing argument names for bindings in GDExtension
Diffstat (limited to 'scene/gui/popup_menu.cpp')
-rw-r--r--scene/gui/popup_menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/popup_menu.cpp b/scene/gui/popup_menu.cpp
index 4fef292f2f..54af9f3885 100644
--- a/scene/gui/popup_menu.cpp
+++ b/scene/gui/popup_menu.cpp
@@ -1733,7 +1733,7 @@ void PopupMenu::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_item_shortcut", "idx"), &PopupMenu::get_item_shortcut);
ClassDB::bind_method(D_METHOD("get_current_index"), &PopupMenu::get_current_index);
- ClassDB::bind_method(D_METHOD("set_item_count"), &PopupMenu::set_item_count);
+ ClassDB::bind_method(D_METHOD("set_item_count", "count"), &PopupMenu::set_item_count);
ClassDB::bind_method(D_METHOD("get_item_count"), &PopupMenu::get_item_count);
ClassDB::bind_method(D_METHOD("remove_item", "idx"), &PopupMenu::remove_item);