diff --git a/crates/recent_projects/src/remote_servers.rs b/crates/recent_projects/src/remote_servers.rs index 0e2823892c..9861d72870 100644 --- a/crates/recent_projects/src/remote_servers.rs +++ b/crates/recent_projects/src/remote_servers.rs @@ -2723,7 +2723,6 @@ impl RemoteServerProjects { let distro_name = distro_name.clone(); move |_, _: &menu::Confirm, window, cx| { remove_wsl_distro(cx.entity(), index, distro_name.clone(), window, cx); - cx.focus_self(window); } })) .child( @@ -2735,7 +2734,6 @@ impl RemoteServerProjects { .child(Label::new("Remove Distro").color(Color::Error)) .on_click(cx.listener(move |_, _, window, cx| { remove_wsl_distro(cx.entity(), index, distro_name.clone(), window, cx); - cx.focus_self(window); })), ) }) @@ -2880,7 +2878,6 @@ impl RemoteServerProjects { window, cx, ); - cx.focus_self(window); } })) .child( @@ -2898,7 +2895,6 @@ impl RemoteServerProjects { window, cx, ); - cx.focus_self(window); })), ) })