diff --git a/crates/find/src/project_find.rs b/crates/find/src/project_find.rs index 5c84c233c563407f289d4d5b6271ddd42a7f002f..bd541b731d705eaec6bb8f986069467b89384bea 100644 --- a/crates/find/src/project_find.rs +++ b/crates/find/src/project_find.rs @@ -153,6 +153,10 @@ impl View for ProjectFindView { ) .boxed() } + + fn on_focus(&mut self, cx: &mut ViewContext) { + cx.focus(&self.query_editor); + } } impl workspace::ItemView for ProjectFindView {