fix borked merge, rename fields to better match what they do, change setting default to true for #13653

This commit is contained in:
AUTOMATIC1111
2024-01-01 16:50:59 +03:00
parent 2a7ad70db5
commit 0aa7c53c0b
8 changed files with 20 additions and 14 deletions

View File

@@ -106,8 +106,14 @@ class Toprow:
outputs=[],
)
def interrupt_function():
if shared.state.job_count > 1 and shared.opts.interrupt_after_current:
shared.state.stop_generating()
else:
shared.state.interrupt()
self.interrupt.click(
fn=lambda: shared.state.interrupt(),
fn=interrupt_function,
inputs=[],
outputs=[],
)