diff --git a/crates/gpui/src/app.rs b/crates/gpui/src/app.rs index 697d9276e5ff6a82b0eef296e26d47c7ee6fb351..820a593e17c31ffe6faeb973a59b5f9e950ba3fe 100644 --- a/crates/gpui/src/app.rs +++ b/crates/gpui/src/app.rs @@ -1858,7 +1858,7 @@ impl AppContext { if let Some(focused_id) = cx.window.focused_view_id { for view_id in cx.ancestors(focused_id).collect::>() { - cx.update_any_view(focused_id, |view, cx| { + cx.update_any_view(view_id, |view, cx| { if active { view.focus_in(focused_id, cx, view_id); } else {