Merge pull request #13263 from sersoong/master-test
3.0beta - Fixed doesn't close open a file window bug
This commit is contained in:
commit
faf5ac8d54
1 changed files with 1 additions and 0 deletions
|
@ -290,6 +290,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
|
|||
|
||||
if (!scene) {
|
||||
EditorNode::get_singleton()->new_inherited_scene();
|
||||
break;
|
||||
}
|
||||
|
||||
file->set_mode(EditorFileDialog::MODE_OPEN_FILE);
|
||||
|
|
Loading…
Reference in a new issue