Merge pull request #2346 from zed-industries/petros/z-360-dragging-file-from-tree-to-split-results

Fix dragging file from tree to split results in empty pane
This commit is contained in:
Petros Amoiridis 2023-04-03 16:43:12 +03:00 committed by GitHub
commit 69557655ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -368,7 +368,7 @@ pub fn init(app_state: Arc<AppState>, cx: &mut MutableAppContext) {
cx.add_action(Workspace::activate_pane_at_index); cx.add_action(Workspace::activate_pane_at_index);
cx.add_action(Workspace::split_pane_with_item); 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( cx.add_async_action(
|workspace: &mut Workspace, |workspace: &mut Workspace,