overwriting images on save, image editor.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

overwriting images on save, image editor.

Arnd Baecker
Hi,

I just came across the following issue which destroyed
an original image (yes, I do have a back-up ;-):

After editing an image in the image editor,
and closing it (CTRL-W) without saving,
a warning dialogue
  The image '%1' has been modified.\n"
  "Do you want to save it?
is shown with the options
  [Save] [Discard]  [Cancel]

If one presses Save, the original image is silently
overwritten.

The attached patch ensures that a Warning is given.

Essentially, this is a follow-up to
http://bugs.kde.org/show_bug.cgi?id=103350

Any objections that I apply this patch to svn?

Best, Arnd

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel

overwrite.patch (2K) Download Attachment