Skip to content

Commit

Permalink
Merge pull request godotengine#99990 from KoBeWi/update_tree_after_up…
Browse files Browse the repository at this point in the history
…dating_tree

Fix FileSystem dock filter reset when tree rebuilds
  • Loading branch information
Repiteo committed Dec 4, 2024
2 parents 451fd7a + cc5be85 commit 1f47e4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions editor/filesystem_dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,10 @@ void FileSystemDock::_update_tree(const Vector<String> &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;
}
Expand Down

0 comments on commit 1f47e4c

Please sign in to comment.