From ea63df05191a1205c9d7d9cee0c6b31dd5a9608c Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 6 Apr 2022 15:46:11 -0700 Subject: [PATCH] Don't activate the next pane when opening excerpts --- crates/editor/src/editor.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 7ceb3465f8..030fcb5d83 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -5956,8 +5956,6 @@ impl Editor { // and activating a new item causes the pane to call a method on us reentrantly, // which panics if we're on the stack. cx.defer(move |workspace, cx| { - workspace.activate_next_pane(cx); - for (buffer, ranges) in new_selections_by_buffer.into_iter() { let editor = workspace.open_project_item::(buffer, cx); editor.update(cx, |editor, cx| {