diff --git a/src/client/datascience/notebookStorage/notebookModel.ts b/src/client/datascience/notebookStorage/notebookModel.ts index 0bbe75705836..3b031870d81d 100644 --- a/src/client/datascience/notebookStorage/notebookModel.ts +++ b/src/client/datascience/notebookStorage/notebookModel.ts @@ -90,7 +90,7 @@ export class NativeEditorNotebookModel extends BaseNotebookModel { // Dirty state comes from undo. At least VS code will track it that way. However // skip file changes as we don't forward those to VS code - if (change.kind !== 'save' && change.kind !== 'saveAs') { + if (change.kind !== 'save' && change.kind !== 'saveAs' && change.kind !== 'updateTrust') { this.changeCount += 1; }