Focus query editor when deploying project-find

This commit is contained in:
Antonio Scandurra
2022-02-25 10:58:32 +01:00
parent 7aacb63762
commit a077210873
+4
View File
@@ -153,6 +153,10 @@ impl View for ProjectFindView {
)
.boxed()
}
fn on_focus(&mut self, cx: &mut ViewContext<Self>) {
cx.focus(&self.query_editor);
}
}
impl workspace::ItemView for ProjectFindView {