Merge pull request #14743 from volzhs/unnecessary-update-files
Remove unnecessay update on FileSystem dock
This commit is contained in:
commit
a7f09b71f9
1 changed files with 1 additions and 3 deletions
|
@ -591,9 +591,7 @@ void FileSystemDock::_select_file(int p_idx) {
|
||||||
if (fpath != "res://") {
|
if (fpath != "res://") {
|
||||||
fpath = fpath.substr(0, fpath.length() - 1);
|
fpath = fpath.substr(0, fpath.length() - 1);
|
||||||
}
|
}
|
||||||
path = fpath;
|
navigate_to_path(fpath);
|
||||||
_update_files(false);
|
|
||||||
navigate_to_path(path);
|
|
||||||
} else {
|
} else {
|
||||||
if (ResourceLoader::get_resource_type(fpath) == "PackedScene") {
|
if (ResourceLoader::get_resource_type(fpath) == "PackedScene") {
|
||||||
editor->open_request(fpath);
|
editor->open_request(fpath);
|
||||||
|
|
Loading…
Reference in a new issue