From 847a74d588f15fca33bc73d0a12e7d12688e5937 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Fri, 31 May 2019 02:08:37 +0200 Subject: Fix crash when inherit in rootless unsaved scene --- editor/editor_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 1dd68309ae..b8f3ee23f0 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1283,7 +1283,7 @@ void EditorNode::_dialog_action(String p_file) { Node *scene = editor_data.get_edited_scene_root(); // If the previous scene is rootless, just close it in favor of the new one. if (!scene) - _menu_option_confirm(FILE_CLOSE, false); + _menu_option_confirm(FILE_CLOSE, true); load_scene(p_file, false, true); } break; -- cgit v1.2.3