forked from enlightenment/efl
Genlist: rectification in _item_focused_next()
Summary: If current item is disabled, next item should be taken. Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com> @fix Reviewers: raster, Hermet Subscribers: singh.amitesh, sachin.dev Differential Revision: https://phab.enlightenment.org/D2458
This commit is contained in:
parent
f2be5189c9
commit
fb54e83a55
|
@ -2650,7 +2650,7 @@ _item_focused_next(Evas_Object *obj, Elm_Focus_Direction dir)
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
|
||||||
while ((next) &&
|
while ((next) &&
|
||||||
(!eo_do_ret(EO_OBJ(next), tmp, elm_wdg_item_disabled_get())))
|
(eo_do_ret(EO_OBJ(next), tmp, elm_wdg_item_disabled_get())))
|
||||||
next = ELM_GEN_ITEM_FROM_INLIST(EINA_INLIST_GET(next)->next);
|
next = ELM_GEN_ITEM_FROM_INLIST(EINA_INLIST_GET(next)->next);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue