mirror of https://github.com/GNOME/gimp.git
Issue #6695: Wrong tab after JPG export because of "Show preview"…
… feature. Using the new gimp_display_present() function in file-jpeg to make sure the original display is back to the top.
This commit is contained in:
parent
1566d9437e
commit
4f1007edbc
|
@ -625,9 +625,14 @@ jpeg_save (GimpProcedure *procedure,
|
|||
* deletes the image.
|
||||
*/
|
||||
if (display)
|
||||
gimp_display_delete (display);
|
||||
{
|
||||
gimp_display_delete (display);
|
||||
gimp_display_present (gimp_default_display ());
|
||||
}
|
||||
else
|
||||
gimp_image_delete (image);
|
||||
{
|
||||
gimp_image_delete (image);
|
||||
}
|
||||
|
||||
g_free (drawables);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue