popup deferred hide suppressed if reopened

popup no longer tries to close itself a second time
popup no longer closes after having been reopened
fixed bug in RenameDialog not calling base (by inspection)
fixes #59181
fixes #60921
reverts #59287
This commit is contained in:
derammo 2022-05-13 08:22:29 -04:00
parent 677b63d765
commit 47d0dc8a41
4 changed files with 26 additions and 2 deletions

View file

@ -356,6 +356,8 @@ void RenameDialog::_update_substitute() {
}
void RenameDialog::_post_popup() {
ConfirmationDialog::_post_popup();
EditorSelection *editor_selection = EditorNode::get_singleton()->get_editor_selection();
preview_node = nullptr;