Commit 83f93587 authored by Ell's avatar Ell

Issue #4858 - Duplicated image shows NULL in warning when closing it

In gimp_image_duplicate(), explicitly mark the new image as dirty,
so that its dirty time is set.  This avoids showing a NULL message
in place of the dirty time when closing the image.
parent 74b0d2ad
Pipeline #163047 passed with stages
in 37 minutes and 44 seconds
......@@ -164,6 +164,9 @@ gimp_image_duplicate (GimpImage *image)
gimp_image_undo_enable (new_image);
/* Explicitly mark image as dirty, so that its dirty time is set */
gimp_image_dirty (new_image, GIMP_DIRTY_ALL);
return new_image;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment