set the modified flag when saving a file that doesn't support saving all of the…

Authored by aacid on Oct 26 2017, 5:11 PM.

Description

set the modified flag when saving a file that doesn't support saving all of the things (e.g. annotations) but supports file swapping

Example, png files.

If you add an annotation and save and choose to lose changes, the annotation will still be around "in okular" but not on the file, so we need to mark the file as modified so that when the user tries to close he will get again the warning of "you're trying to save and will lose data" because otherwise the user may think the annotation actually was saved since he can see it

Details

Committed
aacidOct 26 2017, 5:16 PM
Parents
R223:b2673a58b10c: When saving a file that had password we will reload it
Branches
Unknown
Tags
Unknown