diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 5eb18b2c1b3b..f68dc7173462 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -452,6 +452,10 @@ void FileSystemDock::_update_tree(const Vector &p_uncollapsed_paths, boo // Create the remaining of the tree. _create_tree(root, EditorFileSystem::get_singleton()->get_filesystem(), uncollapsed_paths, p_select_in_favorites, p_unfold_path); + if (!searched_tokens.is_empty()) { + _update_filtered_items(); + } + tree->ensure_cursor_is_visible(); updating_tree = false; }