Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix focus handling in ProjectSearchBar. (#61093)
ian625b29d243c4
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rsindex d451190c9ff..375f6b7dfa4 100644--- a/crates/search/src/project_search.rs+++ b/crates/search/src/project_search.rs@@ -1981,7 +1981,7 @@ impl ProjectSearchBar {fn focus_search(&mut self, window: &mut Window, cx: &mut Context<Self>) {if let Some(search_view) = self.active_project_search.as_ref() {search_view.update(cx, |search_view, cx| {- search_view.query_editor.focus_handle(cx).focus(window, cx);+ search_view.focus_query_editor(window, cx);});}}