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
1 changed files with 1 additions and 1 deletions

View File

@ -1110,7 +1110,7 @@ fiv_view_init(FivView *self)
gboolean gboolean
fiv_view_open(FivView *self, const gchar *path, GError **error) 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) if (!surface)
return FALSE; return FALSE;
if (self->image) if (self->image)