diff options
-rw-r--r-- | src/eom-window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/eom-window.c b/src/eom-window.c index 2981f0f..ff4f712 100644 --- a/src/eom-window.c +++ b/src/eom-window.c @@ -806,6 +806,12 @@ image_file_changed_cb (EomImage *img, EomWindow *window) if (window->priv->needs_reload_confirmation == FALSE) return; + if (!eom_image_is_modified (img)) { + /* Auto-reload when image is unmodified */ + eom_window_reload_image (window); + return; + } + window->priv->needs_reload_confirmation = FALSE; info_bar = gtk_info_bar_new_with_buttons (_("_Reload"), |