Ephoto: Skip monitor updates when the image has been edited.

This commit is contained in:
Stephen okra Houston 2016-08-04 09:08:44 -05:00
parent 9a1efde36a
commit 92073a9223
1 changed files with 2 additions and 0 deletions

View File

@ -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))