diff options
author | volzhs <volzhs@gmail.com> | 2017-12-16 23:53:44 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2017-12-16 23:53:44 +0900 |
commit | c3d18aed8c62f4b87fff40f3135429f31eb17092 (patch) | |
tree | c2ea274b45c6d7fc5cbdf5d3241d8601f88d7acd | |
parent | 92a8a505a086cf6b4a134a385da77f9e3365d42b (diff) |
Remove unnecessay update on FileSystem dock
-rw-r--r-- | editor/filesystem_dock.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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); |