diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-11-04 15:27:23 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-11-04 15:27:23 +0100 |
commit | 3abb5a9035d3333d77b9be55ce96d3d915d11011 (patch) | |
tree | 5f06547fe8ebf307904bdb76eb14d071b9ea6949 /scene/gui/item_list.cpp | |
parent | c4f29b078ab18325dac3558bce9111f6a6870d90 (diff) | |
download | redot-engine-3abb5a9035d3333d77b9be55ce96d3d915d11011.tar.gz |
Add missing argument names for bindings in GDExtension
Diffstat (limited to 'scene/gui/item_list.cpp')
-rw-r--r-- | scene/gui/item_list.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp index 4215c9aff4..8470003b3e 100644 --- a/scene/gui/item_list.cpp +++ b/scene/gui/item_list.cpp @@ -29,6 +29,7 @@ /*************************************************************************/ #include "item_list.h" + #include "core/config/project_settings.h" #include "core/os/os.h" #include "core/string/translation.h" @@ -1605,7 +1606,7 @@ void ItemList::_bind_methods() { ClassDB::bind_method(D_METHOD("move_item", "from_idx", "to_idx"), &ItemList::move_item); - ClassDB::bind_method(D_METHOD("set_item_count"), &ItemList::set_item_count); + ClassDB::bind_method(D_METHOD("set_item_count", "count"), &ItemList::set_item_count); ClassDB::bind_method(D_METHOD("get_item_count"), &ItemList::get_item_count); ClassDB::bind_method(D_METHOD("remove_item", "idx"), &ItemList::remove_item); |