Commit 4c554179 authored by Ell's avatar Ell
Browse files

app: copy expanded state of duplicated items

... so that duplicated group layers maintain the expanded state of
the original.
parent 06f41db6
......@@ -558,6 +558,9 @@ gimp_item_real_duplicate (GimpItem *item,
g_free (new_name);
gimp_viewable_set_expanded (GIMP_VIEWABLE (new_item),
gimp_viewable_get_expanded (GIMP_VIEWABLE (item)));
g_object_unref (GET_PRIVATE (new_item)->parasites);
GET_PRIVATE (new_item)->parasites = gimp_parasite_list_copy (private->parasites);
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