mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-15 23:03:57 +00:00
parent
13a6b65a35
commit
50d03ffc8c
1 changed files with 0 additions and 5 deletions
|
@ -1507,11 +1507,6 @@ impl ProjectSearchBar {
|
||||||
if let Some(search_view) = self.active_project_search.as_ref() {
|
if let Some(search_view) = self.active_project_search.as_ref() {
|
||||||
search_view.update(cx, |search_view, cx| {
|
search_view.update(cx, |search_view, cx| {
|
||||||
search_view.filters_enabled = !search_view.filters_enabled;
|
search_view.filters_enabled = !search_view.filters_enabled;
|
||||||
if search_view.filters_enabled {
|
|
||||||
cx.focus(&search_view.included_files_editor);
|
|
||||||
} else {
|
|
||||||
cx.focus(&search_view.query_editor);
|
|
||||||
}
|
|
||||||
search_view
|
search_view
|
||||||
.included_files_editor
|
.included_files_editor
|
||||||
.update(cx, |_, cx| cx.notify());
|
.update(cx, |_, cx| cx.notify());
|
||||||
|
|
Loading…
Reference in a new issue