提交 4f9fe722 编写于 作者: B Benjamin Pasero

Diff editor does not ask to save when closing (fixes #13095)

上级 8b88c3ea
......@@ -678,7 +678,7 @@ export class EditorPart extends Part implements IEditorPart, IEditorGroupService
editors.push(editor.modifiedInput);
}
return editors.reduce((prev, e) => prev += this.stacks.count(editor), 0);
return editors.reduce((prev, e) => prev += this.stacks.count(e), 0);
}
public getStacksModel(): EditorStacksModel {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册