Merge pull request #13263 from sersoong/master-test

3.0beta - Fixed doesn't close open a file window bug
This commit is contained in:
Rémi Verschelde 2017-11-25 10:32:38 +01:00 committed by GitHub
commit faf5ac8d54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,6 +290,7 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
if (!scene) { if (!scene) {
EditorNode::get_singleton()->new_inherited_scene(); EditorNode::get_singleton()->new_inherited_scene();
break;
} }
file->set_mode(EditorFileDialog::MODE_OPEN_FILE); file->set_mode(EditorFileDialog::MODE_OPEN_FILE);