Merge pull request #93919 from Hilderin/fix-csv-translation-errors-import-other-resources

Fix adding a translation CSV results in errors on initial import for many types of resources
This commit is contained in:
Rémi Verschelde 2024-07-04 17:12:19 +02:00
commit 0452cbee75
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 4 additions and 2 deletions

View File

@ -2066,7 +2066,6 @@ void EditorFileSystem::update_files(const Vector<String> &p_script_paths) {
}
if (updated) {
_process_update_pending();
if (update_files_icon_cache) {
_update_files_icon_path();
} else {
@ -2074,7 +2073,10 @@ void EditorFileSystem::update_files(const Vector<String> &p_script_paths) {
_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
}
}
}