Avoid enhancing just opened images

This commit is contained in:
Přemysl Eric Janouch 2021-12-22 14:25:49 +01:00
parent 2d4cab52b3
commit 6419209c98
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -1110,7 +1110,7 @@ fiv_view_init(FivView *self)
gboolean
fiv_view_open(FivView *self, const gchar *path, GError **error)
{
cairo_surface_t *surface = fiv_io_open(path, self->enhance, error);
cairo_surface_t *surface = fiv_io_open(path, FALSE, error);
if (!surface)
return FALSE;
if (self->image)