mirror of https://github.com/godotengine/godot
Fix folders uncollapsed after restart with filter
This commit is contained in:
parent
b9437c3938
commit
66f9a7571e
|
|
@ -3991,7 +3991,7 @@ void FileSystemDock::save_layout_to_config(Ref<ConfigFile> p_layout, const Strin
|
|||
PackedStringArray selected_files = get_selected_paths();
|
||||
p_layout->set_value(p_section, "dock_filesystem_selected_paths", selected_files);
|
||||
Vector<String> uncollapsed_paths = get_uncollapsed_paths();
|
||||
p_layout->set_value(p_section, "dock_filesystem_uncollapsed_paths", uncollapsed_paths);
|
||||
p_layout->set_value(p_section, "dock_filesystem_uncollapsed_paths", searched_tokens.is_empty() ? uncollapsed_paths : uncollapsed_paths_before_search);
|
||||
}
|
||||
|
||||
void FileSystemDock::load_layout_from_config(Ref<ConfigFile> p_layout, const String &p_section) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue