mirror of https://github.com/GNOME/gimp.git
make the first of the added layers the active layer. Fixes bug #469752.
2007-09-11 Sven Neumann <sven@gimp.org> * app/core/gimpimage.c (gimp_image_add_layers): make the first of the added layers the active layer. Fixes bug #469752. svn path=/trunk/; revision=23501
This commit is contained in:
parent
aeadf45cfa
commit
ce32eed304
|
@ -1,3 +1,8 @@
|
|||
2007-09-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpimage.c (gimp_image_add_layers): make the first of
|
||||
the added layers the active layer. Fixes bug #469752.
|
||||
|
||||
2007-09-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/spread.c (spread_dialog): update the preview on
|
||||
|
|
|
@ -3036,6 +3036,9 @@ gimp_image_add_layers (GimpImage *image,
|
|||
position++;
|
||||
}
|
||||
|
||||
if (layers)
|
||||
gimp_image_set_active_layer (image, layers->data);
|
||||
|
||||
gimp_image_undo_group_end (image);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue