Issue #12117: undo history corruption.

This commit is contained in:
Jehan 2024-10-30 19:14:21 +01:00
parent 39e1b409a3
commit f57b831eaf

View file

@ -194,7 +194,7 @@ gimp_drawable_filter_undo_pop (GimpUndo *undo,
selection =
GIMP_CHANNEL (gimp_item_duplicate (GIMP_ITEM (gimp_image_get_mask (image)),
GIMP_TYPE_CHANNEL));
gimp_channel_clear (gimp_image_get_mask (image), NULL, TRUE);
gimp_channel_clear (gimp_image_get_mask (image), NULL, FALSE);
}
if ((undo_mode == GIMP_UNDO_MODE_UNDO &&