editors - fix mergeAllGroups (#118268)

This commit is contained in:
Benjamin Pasero 2021-03-08 08:05:07 +01:00
parent 8c3a00f78c
commit f727490556
No known key found for this signature in database
GPG key ID: E6380CC4C8219E65

View file

@ -283,7 +283,7 @@ export function mergeAllGroups(editorGroupService: IEditorGroupsService): void {
const target = editorGroupService.activeGroup;
for (const group of editorGroupService.getGroups(GroupsOrder.MOST_RECENTLY_ACTIVE)) {
if (group === target) {
return; // keep target
continue; // keep target
}
editorGroupService.mergeGroup(group, target);