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

master
Stephen okra Houston 6 years ago
parent 9a1efde36a
commit 92073a9223
  1. 2
      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))

Loading…
Cancel
Save