Ephoto: Make sure to delete the entry item when deleted from single view.

This commit is contained in:
Stephen Houston 2015-12-02 19:22:15 -06:00
parent d748fdaaf2
commit f45273dbaa
2 changed files with 2 additions and 1 deletions

View File

@ -2429,6 +2429,7 @@ _entry_free(void *data, const Ephoto_Entry *entry)
if (entry == sb->entry)
{
_next_entry(sb);
elm_object_item_del(entry->item);
}
}

View File

@ -480,7 +480,7 @@ _todo_items_process(void *data)
if (entry->item)
{
elm_object_item_data_set(entry->item, entry);
}
}
else
{
ephoto_entry_free(tb->ephoto, entry);