summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-12-30 15:32:41 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-12-30 15:32:41 +0900
commit1e6736c3a13d58c4e1a01d7e23983c721051be08 (patch)
tree5152374030a8b75659465da347c8cdc1857f608f
parentff8ccbc7fde46b632bcce06b49a0a26e14a3379c (diff)
downloadelementary-1e6736c3a13d58c4e1a01d7e23983c721051be08.tar.gz
genlist: return as possible as soon
-rw-r--r--src/lib/elm_genlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index c99f579b8..bbf52a960 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -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))
{