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#.
This commit is contained in:
Rémi Verschelde 2024-05-28 15:49:30 +02:00
commit 8630439111
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -960,6 +960,7 @@ void EditorPropertyDictionary::update_property() {
memdelete(container);
button_add_item = nullptr;
container = nullptr;
add_panel = nullptr;
slots.clear();
}
return;