提交 355fbca8 编写于 作者: R rebornix

re #105917. update dirty state

上级 088f8fec
......@@ -148,6 +148,10 @@ export class NotebookEditorModel extends EditorModel implements INotebookEditorM
this._onDidChangeDirty.fire();
}));
if (forceReloadFromDisk) {
this._notebook.setDirty(false);
}
if (backupId) {
await this._backupFileService.discardBackup(this._workingCopyResource);
this._notebook.setDirty(true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册