diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index f0dc850af02..40b7e89553b 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -2072,7 +2072,6 @@ void EditorFileSystem::update_files(const Vector &p_script_paths) { } if (updated) { - _process_update_pending(); if (update_files_icon_cache) { _update_files_icon_path(); } else { @@ -2080,7 +2079,10 @@ void EditorFileSystem::update_files(const Vector &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 + } } }