diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-30 11:47:58 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-30 11:47:58 +0200 |
commit | 4cd39c56fb242137f025313e64c13ab147113d09 (patch) | |
tree | 76dcde3bedb799dd59368eff6491c2929ae494f7 /editor | |
parent | 2666955011f1eb9589335586c03c13721bc8cc57 (diff) | |
parent | b365a634038d4a60f31b22b58be5e4667a8663dc (diff) | |
download | redot-engine-4cd39c56fb242137f025313e64c13ab147113d09.tar.gz |
Merge pull request #92283 from KoBeWi/code_simpleton
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(); |