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:
Umesh Tanwar 2015-05-01 14:33:18 +09:00 committed by Carsten Haitzler (Rasterman)
parent f2be5189c9
commit fb54e83a55
1 changed files with 1 additions and 1 deletions

View File

@ -2650,7 +2650,7 @@ _item_focused_next(Evas_Object *obj, Elm_Focus_Direction dir)
return EINA_FALSE;
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);
}
else