Skip to content

Commit

Permalink
Fix queue on change to respect auto queue checkbox (#2608)
Browse files Browse the repository at this point in the history
* Fix render on change not respecting auto queue checkbox

Fix issue where autoQueueEnabled checkbox is ignored for changes if autoQueueMode is left on `change`

* Make check more specific
  • Loading branch information
dotJack authored Jan 22, 2024
1 parent ef5a28b commit 45bf88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/scripts/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ export class ComfyUI {
autoQueueModeEl.style.display = "none";

api.addEventListener("graphChanged", () => {
if (this.autoQueueMode === "change") {
if (this.autoQueueMode === "change" && this.autoQueueEnabled === true) {
if (this.lastQueueSize === 0) {
this.graphHasChanged = false;
app.queuePrompt(0, this.batchCount);
Expand Down

0 comments on commit 45bf88d

Please sign in to comment.