unpack gadget from site editor box on content_item del

the gadget should be deleted by the site, not by the gen(list|grid)

ref T5693
This commit is contained in:
Mike Blumenkrantz 2017-07-14 18:44:22 -04:00
parent 59b14a4ace
commit 415a94b987
1 changed files with 2 additions and 0 deletions

View File

@ -2034,6 +2034,8 @@ _editor_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info
static void
_editor_item_del(void *data, Evas_Object *obj EINA_UNUSED)
{
Gadget_Item *gi = data;
elm_box_unpack_all(gi->box);
free(data);
}