chunky-dev / chunky

A path tracer to create realistic images of your Minecraft worlds.
https://chunky-dev.github.io/docs
GNU General Public License v3.0
633 stars 76 forks source link

Add "Quit Chunky" confirmation dialog #1703

Closed ShirleyNekoDev closed 3 months ago

ShirleyNekoDev commented 4 months ago

image

Requests the user to confirm closing chunky when pressing Ctrl+Q (or using File > Quit).

This PR does not yet track saved changes. This confirmation dialog is always shown when quitting at the moment. Further work is needed to skip this dialog when no unsaved changes have been made as described in https://github.com/chunky-dev/chunky/issues/951#issuecomment-1987062142.

I suggest that this closes #951 and we open a separate issue for the work on "dirty state" tracking.