提交 178415c8 编写于 作者: B Benjamin Pasero

grid - ensure to update context keys when editors are restored

上级 435a9387
......@@ -598,6 +598,7 @@ export class Workbench extends Disposable implements IPartService {
}
};
this.editorPart.whenRestored.then(() => updateEditorContextKeys());
this._register(this.editorService.onDidActiveEditorChange(() => updateEditorContextKeys()));
this._register(this.editorService.onDidVisibleEditorsChange(() => updateEditorContextKeys()));
this._register(this.editorGroupService.onDidAddGroup(() => updateEditorContextKeys()));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册