mirror of
https://github.com/godotengine/godot
synced 2024-09-05 09:08:28 +00:00
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:
commit
8630439111
|
@ -960,6 +960,7 @@ void EditorPropertyDictionary::update_property() {
|
|||
memdelete(container);
|
||||
button_add_item = nullptr;
|
||||
container = nullptr;
|
||||
add_panel = nullptr;
|
||||
slots.clear();
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue