From 5a397726d2819b048bc7b9f7f4c380b2e9108e69 Mon Sep 17 00:00:00 2001 From: Petros Amoiridis Date: Mon, 3 Apr 2023 16:33:23 +0300 Subject: [PATCH] Do not drop the task Co-Authored-By: Antonio Scandurra --- crates/workspace/src/workspace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs index 19ead7eb3c..1e11578ac1 100644 --- a/crates/workspace/src/workspace.rs +++ b/crates/workspace/src/workspace.rs @@ -368,7 +368,7 @@ pub fn init(app_state: Arc, cx: &mut MutableAppContext) { cx.add_action(Workspace::activate_pane_at_index); cx.add_action(Workspace::split_pane_with_item); - cx.add_action(Workspace::split_pane_with_project_entry); + cx.add_async_action(Workspace::split_pane_with_project_entry); cx.add_async_action( |workspace: &mut Workspace,