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 36272bb commit 877c92fCopy full SHA for 877c92f
src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.ts
@@ -220,7 +220,7 @@ class AuxiliaryEditorPartImpl extends EditorPart implements IAuxiliaryEditorPart
220
}
221
222
private doClose(mergeGroupsToMainPart: boolean): void {
223
- if (mergeGroupsToMainPart) {
+ if (mergeGroupsToMainPart && this.groups.some(group => group.count > 0)) {
224
this.mergeAllGroups(this.editorPartsView.mainPart.activeGroup);
225
226
0 commit comments