1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

Merge pull request #14743 from volzhs/unnecessary-update-files

Remove unnecessay update on FileSystem dock
This commit is contained in:
Rémi Verschelde
2017-12-16 16:35:18 +01:00
committed by GitHub

View File

@@ -591,9 +591,7 @@ void FileSystemDock::_select_file(int p_idx) {
if (fpath != "res://") {
fpath = fpath.substr(0, fpath.length() - 1);
}
path = fpath;
_update_files(false);
navigate_to_path(path);
navigate_to_path(fpath);
} else {
if (ResourceLoader::get_resource_type(fpath) == "PackedScene") {
editor->open_request(fpath);