From c3d18aed8c62f4b87fff40f3135429f31eb17092 Mon Sep 17 00:00:00 2001 From: volzhs Date: Sat, 16 Dec 2017 23:53:44 +0900 Subject: Remove unnecessay update on FileSystem dock --- editor/filesystem_dock.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'editor/filesystem_dock.cpp') diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index a756366edf..c30f077888 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -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); -- cgit v1.2.3