From 5b2637b14eb9b40076da6c226d2c7ef548438147 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Thu, 19 Oct 2017 11:53:08 +0200 Subject: [PATCH] elm_gengrid: force the item to be added _again_ as subobj so we make sure the registering fetches the correct element --- src/lib/elementary/elm_gengrid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c index e7c5c04..b76b5e2 100644 --- a/src/lib/elementary/elm_gengrid.c +++ b/src/lib/elementary/elm_gengrid.c @@ -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); -- 2.7.4