Don't activate the next pane when opening excerpts
This commit is contained in:
parent
3d8e4adcde
commit
ea63df0519
1 changed files with 0 additions and 2 deletions
|
@ -5956,8 +5956,6 @@ impl Editor {
|
||||||
// and activating a new item causes the pane to call a method on us reentrantly,
|
// and activating a new item causes the pane to call a method on us reentrantly,
|
||||||
// which panics if we're on the stack.
|
// which panics if we're on the stack.
|
||||||
cx.defer(move |workspace, cx| {
|
cx.defer(move |workspace, cx| {
|
||||||
workspace.activate_next_pane(cx);
|
|
||||||
|
|
||||||
for (buffer, ranges) in new_selections_by_buffer.into_iter() {
|
for (buffer, ranges) in new_selections_by_buffer.into_iter() {
|
||||||
let editor = workspace.open_project_item::<Self>(buffer, cx);
|
let editor = workspace.open_project_item::<Self>(buffer, cx);
|
||||||
editor.update(cx, |editor, cx| {
|
editor.update(cx, |editor, cx| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue