Avoid enhancing just opened images
This commit is contained in:
parent
2d4cab52b3
commit
6419209c98
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue