From 3abb5a9035d3333d77b9be55ce96d3d915d11011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 4 Nov 2021 15:27:23 +0100 Subject: Add missing argument names for bindings in GDExtension --- scene/gui/popup_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/gui/popup_menu.cpp') 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); -- cgit v1.2.3