mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 18:46:49 +00:00
Focus results editor when project find matches are updated
This commit is contained in:
parent
561123d6de
commit
5be93044f6
1 changed files with 1 additions and 0 deletions
|
@ -264,6 +264,7 @@ impl ProjectFindView {
|
||||||
);
|
);
|
||||||
editor.select_ranges([0..0], Some(Autoscroll::Fit), cx);
|
editor.select_ranges([0..0], Some(Autoscroll::Fit), cx);
|
||||||
});
|
});
|
||||||
|
cx.focus(&self.results_editor);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn render_query_editor(&self, cx: &mut RenderContext<Self>) -> ElementBox {
|
fn render_query_editor(&self, cx: &mut RenderContext<Self>) -> ElementBox {
|
||||||
|
|
Loading…
Reference in a new issue