diff options
author | kobewi <kobewi4e@gmail.com> | 2024-05-23 17:10:55 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-05-25 10:51:37 +0200 |
commit | b365a634038d4a60f31b22b58be5e4667a8663dc (patch) | |
tree | a833657fb3e6b4a9463c6d40c0ae59b2c9dc5601 /editor | |
parent | b7feebefabc2d48b0d4794cd31fc141f1caecc5c (diff) | |
download | redot-engine-b365a634038d4a60f31b22b58be5e4667a8663dc.tar.gz |
Automatically use property count in PropertyListHelper
Diffstat (limited to 'editor')
-rw-r--r-- | editor/gui/editor_file_dialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/gui/editor_file_dialog.h b/editor/gui/editor_file_dialog.h index 7d6fa19a44..6272e27f82 100644 --- a/editor/gui/editor_file_dialog.h +++ b/editor/gui/editor_file_dialog.h @@ -268,7 +268,7 @@ protected: void _notification(int p_what); bool _set(const StringName &p_name, const Variant &p_value) { return property_helper.property_set_value(p_name, 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, options.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(); |