You've already forked godot
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:
@@ -5734,8 +5734,10 @@ 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() {
|
||||
if (EDITOR_GET("interface/editor/separate_distraction_mode")) {
|
||||
|
||||
Reference in New Issue
Block a user