summaryrefslogtreecommitdiffstats
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-05-28 15:49:30 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-05-28 15:49:30 +0200
commit8630439111601b22c9f0620ac1031abed3a30d40 (patch)
tree895d38129993c66093af45e2093ea62cbe01ec5f /editor
parent4808f243125095ab1b271478ac031374c985df8a (diff)
parentf764c5336a29611d55ca9b75ea2b7f298fea78b6 (diff)
downloadredot-engine-8630439111601b22c9f0620ac1031abed3a30d40.tar.gz
Merge pull request #92351 from ajreckof/fix-crash-on-dictionary-return-to-default-in-C#
Fix crash on dictionary initialization after return to default in C#.
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_properties_array_dict.cpp1
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;