Fix adding a translation CSV results in errors on initial import for many types of resources
This commit is contained in:
parent
6a13fdcae3
commit
d04b5d2629
1 changed files with 4 additions and 2 deletions
|
@ -2072,7 +2072,6 @@ void EditorFileSystem::update_files(const Vector<String> &p_script_paths) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (updated) {
|
if (updated) {
|
||||||
_process_update_pending();
|
|
||||||
if (update_files_icon_cache) {
|
if (update_files_icon_cache) {
|
||||||
_update_files_icon_path();
|
_update_files_icon_path();
|
||||||
} else {
|
} else {
|
||||||
|
@ -2080,7 +2079,10 @@ void EditorFileSystem::update_files(const Vector<String> &p_script_paths) {
|
||||||
_update_file_icon_path(fi);
|
_update_file_icon_path(fi);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
call_deferred(SNAME("emit_signal"), "filesystem_changed"); //update later
|
if (!is_scanning()) {
|
||||||
|
_process_update_pending();
|
||||||
|
call_deferred(SNAME("emit_signal"), "filesystem_changed"); //update later
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue