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:
Jehan 2021-04-30 03:51:21 +02:00
parent 1566d9437e
commit 4f1007edbc
1 changed files with 7 additions and 2 deletions

View File

@ -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);
}