build fix
This commit is contained in:
parent
690ea57211
commit
049149320c
2 changed files with 1 additions and 8 deletions
|
@ -152,7 +152,7 @@ impl View for TerminalView {
|
|||
}
|
||||
}
|
||||
|
||||
fn on_focus(&mut self, cx: &mut ViewContext<Self>) {
|
||||
fn on_focus_in(&mut self, _: AnyViewHandle, cx: &mut ViewContext<Self>) {
|
||||
cx.emit(Event::Activate);
|
||||
cx.defer(|view, cx| {
|
||||
cx.focus(view.content.handle());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue