You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Change search results limit in FileSystem dock from 128 to 10000
(cherry picked from commit 5aa88afa5d)
This commit is contained in:
committed by
Rémi Verschelde
parent
aaacc753a7
commit
6f3b03824a
@@ -721,7 +721,8 @@ void FileSystemDock::_update_file_list(bool p_keep_selection) {
|
|||||||
|
|
||||||
if (searched_string.length() > 0) {
|
if (searched_string.length() > 0) {
|
||||||
// Display the search results.
|
// Display the search results.
|
||||||
_search(EditorFileSystem::get_singleton()->get_filesystem(), &filelist, 128);
|
// Limit the number of results displayed to avoid an infinite loop.
|
||||||
|
_search(EditorFileSystem::get_singleton()->get_filesystem(), &filelist, 10000);
|
||||||
} else {
|
} else {
|
||||||
if (display_mode == DISPLAY_MODE_TREE_ONLY || always_show_folders) {
|
if (display_mode == DISPLAY_MODE_TREE_ONLY || always_show_folders) {
|
||||||
// Display folders in the list.
|
// Display folders in the list.
|
||||||
|
|||||||
Reference in New Issue
Block a user