diff --git a/ChangeLog b/ChangeLog index b28faeaeb3..44d8bc2f58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-22 Simon Budig + + * app/xcf/xcf-load.c: load the channels in the proper order. + fixes bug #378003. Thanks to Chris Mohler for spotting this. + 2006-11-22 Sven Neumann * libgimpwidgets/gimpchainbutton.c: code cleanup, seems to fix bug diff --git a/app/xcf/xcf-load.c b/app/xcf/xcf-load.c index f64d60cfdf..ebb6450d8a 100644 --- a/app/xcf/xcf-load.c +++ b/app/xcf/xcf-load.c @@ -245,7 +245,8 @@ xcf_load_image (Gimp *gimp, /* add the channel to the image if its not the selection */ if (channel != image->selection_mask) - gimp_image_add_channel (image, channel, -1); + gimp_image_add_channel (image, channel, + gimp_container_num_children (image->channels)); /* restore the saved position so we'll be ready to * read the next offset.