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);
|
memdelete(container);
|
||||||
button_add_item = nullptr;
|
button_add_item = nullptr;
|
||||||
container = nullptr;
|
container = nullptr;
|
||||||
|
add_panel = nullptr;
|
||||||
slots.clear();
|
slots.clear();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user