You've already forked godot
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:
committed by
Rémi Verschelde
parent
93cb416423
commit
71a9932f38
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user