We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 006e4f9 commit 4665ce6Copy full SHA for 4665ce6
src/vs/workbench/browser/quickaccess.ts
@@ -84,7 +84,7 @@ export class EditorViewState {
84
if (shouldCloseCurrEditor) {
85
const activeEditorPane = this.editorService.activeEditorPane;
86
const currEditor = activeEditorPane?.input;
87
- if (currEditor && currEditor !== this._editorViewState.editor) {
+ if (currEditor && currEditor !== this._editorViewState.editor && activeEditorPane?.group.isPinned(currEditor) !== true) {
88
await activeEditorPane.group.closeEditor(currEditor);
89
}
90
0 commit comments