Skip to content

Commit 80bae52

Browse files
joyceerhlDonJayamanne
authored andcommitted
Don't forward trust changes to vscode (#12904)
1 parent 8c3c0eb commit 80bae52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/datascience/notebookStorage/notebookModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class NativeEditorNotebookModel extends BaseNotebookModel {
9090

9191
// Dirty state comes from undo. At least VS code will track it that way. However
9292
// skip file changes as we don't forward those to VS code
93-
if (change.kind !== 'save' && change.kind !== 'saveAs') {
93+
if (change.kind !== 'save' && change.kind !== 'saveAs' && change.kind !== 'updateTrust') {
9494
this.changeCount += 1;
9595
}
9696

0 commit comments

Comments
 (0)