genlist: return as possible as soon

This commit is contained in:
ChunEon Park 2014-12-30 15:32:41 +09:00
parent c890310c01
commit 65de16477c
1 changed files with 2 additions and 1 deletions

View File

@ -2415,6 +2415,8 @@ _item_multi_select_down(Elm_Genlist_Data *sd)
if (!sd->multi) return EINA_FALSE;
eo_next = elm_genlist_item_next_get(sd->last_selected_item);
if (!eo_next) return EINA_TRUE;
while ((eo_next))
{
ELM_GENLIST_ITEM_DATA_GET(eo_next, next);
@ -2424,7 +2426,6 @@ _item_multi_select_down(Elm_Genlist_Data *sd)
break;
eo_next = EO_OBJ(ELM_GEN_ITEM_FROM_INLIST(EINA_INLIST_GET(next)->next));
}
if (!eo_next) return EINA_TRUE;
if (elm_genlist_item_selected_get(eo_next))
{