diff --git a/zed/src/menus.rs b/zed/src/menus.rs index 409a218175..86839e4d3f 100644 --- a/zed/src/menus.rs +++ b/zed/src/menus.rs @@ -25,7 +25,7 @@ pub fn menus(state: &Arc) -> Vec> { name: "Join", keystroke: None, action: "workspace:join_worktree", - arg: None, + arg: Some(Box::new(state.clone())), }, MenuItem::Action { name: "Quit",