aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_genlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_genlist.c')
-rw-r--r--src/lib/elementary/elm_genlist.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index 0e7b3a47a1..76d168c195 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -385,9 +385,12 @@ _widget_calculate_recursive(Eo *obj)
if (!pd || !pd->resize_obj)
return;
- if (!efl_canvas_group_need_recalculate_get(obj) &&
- !efl_canvas_group_need_recalculate_get(pd->resize_obj))
- return;
+ if (!efl_canvas_group_need_recalculate_get(obj))
+ {
+ if (!efl_isa(pd->resize_obj, EFL_CANVAS_GROUP_CLASS) ||
+ !efl_canvas_group_need_recalculate_get(pd->resize_obj))
+ return;
+ }
EINA_LIST_FOREACH(pd->subobjs, l, child)
_widget_calculate_recursive(child);