You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Prevent save confirmation dialog from trying to parent to itself
This commit is contained in:
@@ -5734,7 +5734,9 @@ void EditorNode::_cancel_close_scene_tab() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void EditorNode::_prepare_save_confirmation_popup() {
|
void EditorNode::_prepare_save_confirmation_popup() {
|
||||||
|
if (save_confirmation->get_window() != get_last_exclusive_window()) {
|
||||||
save_confirmation->reparent(get_last_exclusive_window());
|
save_confirmation->reparent(get_last_exclusive_window());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorNode::_toggle_distraction_free_mode() {
|
void EditorNode::_toggle_distraction_free_mode() {
|
||||||
|
|||||||
Reference in New Issue
Block a user