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:
parent
1257dc515a
commit
79342bcd8d
3 changed files with 23 additions and 7 deletions
1
news.d/51.rc/fixed-ask-save-when-closing-editing
Normal file
1
news.d/51.rc/fixed-ask-save-when-closing-editing
Normal file
|
|
@ -0,0 +1 @@
|
|||
After editing a file and pressing cancel, ask for saving the image instead of waiting for closing the global window.
|
||||
1
news.d/51.rc/fixed-unsaved-changes-after-save-as
Normal file
1
news.d/51.rc/fixed-unsaved-changes-after-save-as
Normal file
|
|
@ -0,0 +1 @@
|
|||
After editing a file, unsaved changes were still reported after using the "Save as…" feature.
|
||||
Loading…
Add table
Add a link
Reference in a new issue