Prevent save confirmation dialog from trying to parent to itself
This commit is contained in:
parent
0b6a717ac1
commit
1c384e7b78
1 changed files with 3 additions and 1 deletions
|
|
@ -5734,7 +5734,9 @@ void EditorNode::_cancel_close_scene_tab() {
|
|||
}
|
||||
|
||||
void EditorNode::_prepare_save_confirmation_popup() {
|
||||
save_confirmation->reparent(get_last_exclusive_window());
|
||||
if (save_confirmation->get_window() != get_last_exclusive_window()) {
|
||||
save_confirmation->reparent(get_last_exclusive_window());
|
||||
}
|
||||
}
|
||||
|
||||
void EditorNode::_toggle_distraction_free_mode() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue