Commit ca98388d authored by William Skaggs's avatar William Skaggs
Browse files

Bill Skaggs <weskaggs@primate.ucdavis.edu>

	* plug-ins/jpeg/jpeg-load.c: Don't detach from drawable if
	it belongs to a preview layer.  Fixes bug #304352.
parent 01e18712
2005-05-16 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/jpeg-load.c: Don't detach from drawable if
it belongs to a preview layer. Fixes bug #304352.
2005-05-16 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/procedural_db.pdb: fixed typo in API docs.
......
......@@ -457,7 +457,8 @@ load_image (const gchar *filename,
/* Detach from the drawable and add it to the image.
*/
gimp_drawable_detach (drawable);
if (!preview)
gimp_drawable_detach (drawable);
gimp_image_add_layer (image_ID, layer_ID, 0);
/* pw - Last of all, attach the parasites (couldn't do it earlier -
......
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