This commit is contained in:
Mo Bitar
2020-04-14 19:59:31 -05:00
parent d91b7bc449
commit a2303aa7af
7 changed files with 37 additions and 61 deletions

View File

@@ -90,7 +90,7 @@ export class AppState {
createEditor(title?: string) {
const activeEditor = this.getActiveEditor();
if (!activeEditor || this.multiEditorEnabled) {
this.application.editorGroup.createEditor(title);
this.application.editorGroup.createEditor(undefined, title);
} else {
activeEditor.reset(title);
}