mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Automatically enable project search filters when using Search Inside
(#2889)
Now that the filters are hidden behind a toggle-able setting, running the `Search Inside` action from the project panel feels a bit weird, since the filter being used is hidden. This PR automatically opens that filter section after running a `Search Inside` action. Release Notes: - N/A
This commit is contained in:
commit
f1586c9923
@ -893,6 +893,7 @@ impl ProjectSearchView {
|
||||
search
|
||||
.included_files_editor
|
||||
.update(cx, |editor, cx| editor.set_text(filter_str, cx));
|
||||
search.filters_enabled = true;
|
||||
search.focus_query_editor(cx)
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user