diff options
author | ajreckof <tbonhoure@ymail.com> | 2024-05-25 11:12:10 +0200 |
---|---|---|
committer | ajreckof <tbonhoure@ymail.com> | 2024-05-25 11:12:10 +0200 |
commit | f764c5336a29611d55ca9b75ea2b7f298fea78b6 (patch) | |
tree | ba3203c492988159c6666c2638f28d3b9b240ae9 /editor | |
parent | b7feebefabc2d48b0d4794cd31fc141f1caecc5c (diff) | |
download | redot-engine-f764c5336a29611d55ca9b75ea2b7f298fea78b6.tar.gz |
Fix crash on dictionary initialization after return to default in C#.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_properties_array_dict.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp index ca1070d7f3..b4fc47323a 100644 --- a/editor/editor_properties_array_dict.cpp +++ b/editor/editor_properties_array_dict.cpp @@ -960,6 +960,7 @@ void EditorPropertyDictionary::update_property() { memdelete(container); button_add_item = nullptr; container = nullptr; + add_panel = nullptr; slots.clear(); } return; |