summaryrefslogtreecommitdiffstats
path: root/scene/gui/item_list.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2024-05-23 17:10:55 +0200
committerkobewi <kobewi4e@gmail.com>2024-05-25 10:51:37 +0200
commitb365a634038d4a60f31b22b58be5e4667a8663dc (patch)
treea833657fb3e6b4a9463c6d40c0ae59b2c9dc5601 /scene/gui/item_list.h
parentb7feebefabc2d48b0d4794cd31fc141f1caecc5c (diff)
downloadredot-engine-b365a634038d4a60f31b22b58be5e4667a8663dc.tar.gz
Automatically use property count in PropertyListHelper
Diffstat (limited to 'scene/gui/item_list.h')
-rw-r--r--scene/gui/item_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/item_list.h b/scene/gui/item_list.h
index 4c035ee4e6..9a57b9d8fe 100644
--- a/scene/gui/item_list.h
+++ b/scene/gui/item_list.h
@@ -162,7 +162,7 @@ protected:
void _notification(int p_what);
bool _set(const StringName &p_name, const Variant &p_value);
bool _get(const StringName &p_name, Variant &r_ret) const { return property_helper.property_get_value(p_name, r_ret); }
- void _get_property_list(List<PropertyInfo> *p_list) const { property_helper.get_property_list(p_list, items.size()); }
+ void _get_property_list(List<PropertyInfo> *p_list) const { property_helper.get_property_list(p_list); }
bool _property_can_revert(const StringName &p_name) const { return property_helper.property_can_revert(p_name); }
bool _property_get_revert(const StringName &p_name, Variant &r_property) const { return property_helper.property_get_revert(p_name, r_property); }
static void _bind_methods();