From a661b43e75a9c0e3fdc90c26821ea0f098ce8548 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 12 Jul 2021 17:02:22 +0200 Subject: [PATCH] Pass `AppState` to `workspace:join_worktree` --- zed/src/menus.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",