diff --git a/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts b/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts index 632cb1b5e7a..31f3a7262b3 100644 --- a/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts +++ b/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts @@ -159,7 +159,7 @@ export class NotebookEditorInput extends AbstractResourceEditorInput { override isSaving(): boolean { const model = this._editorModelReference?.object; if (!model || !model.isDirty() || model.hasErrorState || model.hasConflictState) { - return false; // require the model to be dirty and not in error of conflict state + return false; // require the model to be dirty and not in error or conflict state } // if a short auto save is configured, treat this as being saved