diffusionbee-stable-diffusion-ui icon indicating copy to clipboard operation
diffusionbee-stable-diffusion-ui copied to clipboard

Warn before quitting while an image/batch is generating

Open Leland opened this issue 3 years ago • 0 comments

It can feel pretty painful to accidentally quit during a 75 step image. It'd be great if there was a confirmation dialogue that appeared during an active batch/image to prevent that.

There should be no dialogue shown while the app is idle, of course.

This should be pretty straightforward, with a window.onbeforeunload event, and then toggling behavior via is_input_avail status.

Leland avatar Oct 14 '22 03:10 Leland