diff --git a/webClient/src/app/editor/code-editor/code-editor.component.ts b/webClient/src/app/editor/code-editor/code-editor.component.ts index 4a78debb..75fb7182 100644 --- a/webClient/src/app/editor/code-editor/code-editor.component.ts +++ b/webClient/src/app/editor/code-editor/code-editor.component.ts @@ -76,6 +76,7 @@ export class CodeEditorComponent implements OnInit, OnDestroy { //respond to the request to open this.editorControl.openFileEmitter.subscribe((fileNode: ProjectStructure) => { this.openFile(fileNode); + this.editorControl.editor.getValue().layout(); }); this.editorControl.openFileList.subscribe((list: ProjectContext[]) => {