Ephoto: Make sure to delete the entry item when deleted from single view.
This commit is contained in:
parent
d748fdaaf2
commit
f45273dbaa
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue