1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Prevent save confirmation dialog from trying to parent to itself

This commit is contained in:
Robert Yevdokimov
2025-02-05 06:17:36 +04:00
parent 0b6a717ac1
commit 1c384e7b78

View File

@@ -5734,7 +5734,9 @@ void EditorNode::_cancel_close_scene_tab() {
}
void EditorNode::_prepare_save_confirmation_popup() {
if (save_confirmation->get_window() != get_last_exclusive_window()) {
save_confirmation->reparent(get_last_exclusive_window());
}
}
void EditorNode::_toggle_distraction_free_mode() {