提交 8396b27e 编写于 作者: B Benjamin Pasero

fixes #14457

上级 9643bd50
...@@ -51,7 +51,7 @@ export class ToggleEditorLayoutAction extends Action { ...@@ -51,7 +51,7 @@ export class ToggleEditorLayoutAction extends Action {
} }
private updateEnablement(): void { private updateEnablement(): void {
this.enabled = this.editorGroupService.getStacksModel().groups.length > 1; this.enabled = this.editorGroupService.getStacksModel().groups.length > 0;
} }
public run(): TPromise<any> { public run(): TPromise<any> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册