"Revert File" on inactive editors are ignored (fix #177557) (#183903)

This commit is contained in:
Benjamin Pasero 2023-05-31 08:57:43 +02:00 committed by GitHub
parent 67a1ca676e
commit 4690a06638
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,6 +150,7 @@ export function getOpenEditorsViewMultiSelection(listService: IListService, edit
if (selection.some(s => s === mainEditor)) {
return selection;
}
return mainEditor ? [mainEditor] : undefined;
}
}