edit_window: Introduce has_unsave_changes property

Previously, detecting unsaved changes relied on whether there are any
changes that happened in the editing view. This would mean, that after
using "Save as" unsaved changes were still assumed.
This commit is contained in:
Sophie Herold 2026-08-06 12:12:19 +02:00
parent 1257dc515a
commit 79342bcd8d
3 changed files with 23 additions and 7 deletions

View file

@ -0,0 +1 @@
After editing a file and pressing cancel, ask for saving the image instead of waiting for closing the global window.