Skip to content

Commit

Permalink
Merge pull request #93919 from Hilderin/fix-csv-translation-errors-im…
Browse files Browse the repository at this point in the history
…port-other-resources

Fix adding a translation CSV results in errors on initial import for many types of resources
  • Loading branch information
akien-mga committed Jul 4, 2024
2 parents 5f0a2dd + d04b5d2 commit 0452cbe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions editor/editor_file_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2066,15 +2066,17 @@ 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 {
for (EditorFileSystemDirectory::FileInfo *fi : files_to_update_icon_path) {
_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
}
}
}

Expand Down

0 comments on commit 0452cbe

Please sign in to comment.