Genlist: fix multiselect for ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY select_mode

Summary:
fix the _item_multi_select_down() function for
ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY select_mode.
_item_multi_select_up is right, but _item_multi_select_down is wrong.
So fixed this.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

@fix

Reviewers: Hermet, raster

Reviewed By: raster

Subscribers: sachin.dev, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D2452
This commit is contained in:
Umesh Tanwar 2015-05-01 12:05:07 +09:00 committed by Carsten Haitzler (Rasterman)
parent 3ffb541827
commit 3253568481
1 changed files with 1 additions and 1 deletions

View File

@ -2461,7 +2461,7 @@ _item_multi_select_down(Elm_Genlist_Data *sd)
while ((eo_next))
{
ELM_GENLIST_ITEM_DATA_GET(eo_next, next);
if ((_is_no_select(next)) && (!elm_object_item_disabled_get(eo_next)))
if ((!_is_no_select(next)) && (!elm_object_item_disabled_get(eo_next)))
break;
eo_next = EO_OBJ(ELM_GEN_ITEM_FROM_INLIST(EINA_INLIST_GET(next)->next));
}