Merge pull request #61190 from timothyqiu/editor-properties-array-dict-clean-button_add_item
This commit is contained in:
commit
e88fb37e86
1 changed files with 2 additions and 0 deletions
|
@ -820,6 +820,7 @@ void EditorPropertyDictionary::update_property() {
|
|||
if (vbox) {
|
||||
set_bottom_editor(nullptr);
|
||||
memdelete(vbox);
|
||||
button_add_item = nullptr;
|
||||
vbox = nullptr;
|
||||
}
|
||||
return;
|
||||
|
@ -1119,6 +1120,7 @@ void EditorPropertyDictionary::update_property() {
|
|||
if (vbox) {
|
||||
set_bottom_editor(nullptr);
|
||||
memdelete(vbox);
|
||||
button_add_item = nullptr;
|
||||
vbox = nullptr;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue