mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-29 00:46:00 +01:00
fixes #42452
This commit is contained in:
@@ -337,6 +337,7 @@ export class OpenEditorsView extends ViewsViewletPanel {
|
||||
if (this.model.activeGroup && this.model.activeGroup.activeEditor /* could be empty */) {
|
||||
const index = this.getIndex(this.model.activeGroup, this.model.activeGroup.activeEditor);
|
||||
this.list.setFocus([index]);
|
||||
this.list.setSelection([index]);
|
||||
this.list.reveal(index);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user