summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2017-10-19 11:53:08 +0200
committerMarcel Hollerbach <marcel@osg.samsung.com>2017-10-19 15:20:59 +0200
commit5b2637b14eb9b40076da6c226d2c7ef548438147 (patch)
tree39f7ffef2d512c27a3140bbca161a3986f0d195b /src/lib/elementary
parentffbb17a568b89ebe4f11a7ec8e8e11797b245350 (diff)
elm_gengrid: force the item to be added _again_ as subobj
so we make sure the registering fetches the correct element
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_gengrid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c
index e7c5c042ba..b76b5e28b2 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,
1062 evas_object_del(content); 1062 evas_object_del(content);
1063 goto out; 1063 goto out;
1064 } 1064 }
1065 elm_widget_sub_object_del(WIDGET(it), content);
1065 elm_widget_sub_object_add(WIDGET(it), content); 1066 elm_widget_sub_object_add(WIDGET(it), content);
1066 if (elm_wdg_item_disabled_get(EO_OBJ(it))) 1067 if (elm_wdg_item_disabled_get(EO_OBJ(it)))
1067 elm_widget_disabled_set(content, EINA_TRUE); 1068 elm_widget_disabled_set(content, EINA_TRUE);