diff --git a/src/scripts/workflows.ts b/src/scripts/workflows.ts index 578fdd4c13..da097f76fa 100644 --- a/src/scripts/workflows.ts +++ b/src/scripts/workflows.ts @@ -156,6 +156,7 @@ export class ComfyWorkflowManager extends EventTarget { } workflow.changeTracker = null workflow.isOpen = false + workflow.unsaved = false if (this.openWorkflows.length > 0) { this._activeWorkflow = this.openWorkflows[0] await this._activeWorkflow.load()