From 92073a92236cbdcc99697779f82715fdf7d64cff Mon Sep 17 00:00:00 2001 From: Stephen okra Houston Date: Thu, 4 Aug 2016 09:08:44 -0500 Subject: [PATCH] Ephoto: Skip monitor updates when the image has been edited. --- src/bin/ephoto_single_browser.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c index e6c6ba5..6780ebc 100644 --- a/src/bin/ephoto_single_browser.c +++ b/src/bin/ephoto_single_browser.c @@ -275,6 +275,8 @@ _monitor_cb(void *data, int type, Ephoto_Single_Browser *sb = data; Ephoto_Viewer *v = evas_object_data_get(sb->viewer, "viewer"); + if (sb->edited_image_data) + return ECORE_CALLBACK_PASS_ON; if (type == EIO_MONITOR_FILE_MODIFIED) { if (!ecore_file_exists(sb->entry->path))