Skip to content

Commit ed71e87

Browse files
rebornixAiverReaver
authored andcommitted
1 parent e40a0d4 commit ed71e87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/notebook/browser/contrib/coreActions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,6 @@ registerAction2(class ExecuteCellFocusContainer extends NotebookMultiCellAction<
608608
}
609609

610610
async runWithContext(accessor: ServicesAccessor, context: INotebookActionContext): Promise<void> {
611-
await runCell(accessor, context);
612-
613611
if (context.ui && context.cell) {
614612
context.notebookEditor.focusNotebookCell(context.cell, 'container', { skipReveal: true });
615613
} else if (context.selectedCells) {
@@ -619,6 +617,8 @@ registerAction2(class ExecuteCellFocusContainer extends NotebookMultiCellAction<
619617
context.notebookEditor.focusNotebookCell(firstCell, 'container', { skipReveal: true });
620618
}
621619
}
620+
621+
await runCell(accessor, context);
622622
}
623623
});
624624

0 commit comments

Comments
 (0)