summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUmesh Tanwar <umesh.tanwar@samsung.com>2015-05-01 14:33:18 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-05-01 14:33:18 +0900
commitd32bb3b69a0e6b22fa3784e72258163c051e3375 (patch)
tree76ff415abcce38387d7b3312e46329f9c8b3ca6b
parent6f751ab9f1a0b3b37e4e56df8f78f5ddc948f33f (diff)
downloadelementary-d32bb3b69a0e6b22fa3784e72258163c051e3375.tar.gz
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
-rw-r--r--src/lib/elm_genlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 2e47b6aac..f6e66e08b 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -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