grid - fix bug with active context not updated

This commit is contained in:
Benjamin Pasero 2018-05-08 19:06:28 +02:00
parent 9390006a7b
commit 23bd568b49

View file

@ -89,6 +89,8 @@ export class NextEditorService extends Disposable implements INextEditorService
private onDidActiveGroupChange(group: INextEditorGroup): void {
if (!this.lastActiveGroup) {
this.lastActiveGroup = group;
return; // ignore the initial root group
}