mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-05 21:02:42 +02:00
Merge branch 'gabrybarbe-fix-resize-undo' into 'master'
Draft: Issue #14922: force push resize undo on pasted layers Closes #14922 See merge request GNOME/gimp!2480
This commit is contained in:
@@ -720,6 +720,12 @@ edit_paste (GimpDisplay *display,
|
||||
{
|
||||
gimp_image_set_selected_layers (image, pasted_layers);
|
||||
|
||||
for (GList *iter = pasted_layers; iter; iter = iter->next)
|
||||
{
|
||||
if (GIMP_IS_DRAWABLE (iter->data))
|
||||
gimp_drawable_enable_resize_undo (GIMP_DRAWABLE (iter->data));
|
||||
}
|
||||
|
||||
g_list_free (pasted_layers);
|
||||
gimp_image_flush (image);
|
||||
}
|
||||
|
Reference in New Issue
Block a user