fmt
This commit is contained in:
parent
e59c8e9d61
commit
bafc1d922e
2 changed files with 4 additions and 2 deletions
|
@ -105,8 +105,9 @@ impl View for ProjectDiagnosticsEditor {
|
|||
}
|
||||
|
||||
fn focus_in(&mut self, _: AnyViewHandle, cx: &mut ViewContext<Self>) {
|
||||
if cx.is_self_focused() && !self.path_states.is_empty() {
|
||||
cx.focus(&self.editor);
|
||||
dbg!("Focus in");
|
||||
if dbg!(cx.is_self_focused()) && dbg!(!self.path_states.is_empty()) {
|
||||
dbg!(cx.focus(&self.editor));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue