1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

FileSystem: Force update when we delete a folder from the editor and searching changes only if we change the directory successfully in the scan_fs_changes

(cherry picked from commit dc76938679)
This commit is contained in:
Mateo Kuruk Miccino
2021-02-27 17:43:26 -03:00
committed by Rémi Verschelde
parent 93cb416423
commit 71a9932f38
3 changed files with 15 additions and 3 deletions

View File

@@ -1330,6 +1330,10 @@ void FileSystemDock::_folder_removed(String p_folder) {
}
current_path->set_text(path);
EditorFileSystemDirectory *efd = EditorFileSystem::get_singleton()->get_filesystem_path(path);
if (efd) {
efd->force_update();
}
}
void FileSystemDock::_rename_operation_confirm() {