elm_gengrid: force the item to be added _again_ as subobj

so we make sure the registering fetches the correct element
This commit is contained in:
Marcel Hollerbach 2017-10-19 11:53:08 +02:00
parent ffbb17a568
commit 5b2637b14e
1 changed files with 1 additions and 0 deletions

View File

@ -1062,6 +1062,7 @@ _item_content_realize(Elm_Gen_Item *it,
evas_object_del(content);
goto out;
}
elm_widget_sub_object_del(WIDGET(it), content);
elm_widget_sub_object_add(WIDGET(it), content);
if (elm_wdg_item_disabled_get(EO_OBJ(it)))
elm_widget_disabled_set(content, EINA_TRUE);