summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-12-30 15:43:20 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-12-30 15:43:20 +0900
commit67854128d4650e1c2cd491edc32e134ddaaaaa3f (patch)
tree0f1552a5c29651026df494f8e84981b6b405ed93
parent1e6736c3a13d58c4e1a01d7e23983c721051be08 (diff)
downloadelementary-67854128d4650e1c2cd491edc32e134ddaaaaa3f.tar.gz
Revert "genlist: return as possible as soon"
This reverts commit 1e6736c3a13d58c4e1a01d7e23983c721051be08. This caused logic. should not be changed.
-rw-r--r--src/lib/elm_genlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index bbf52a960..c99f579b8 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -2415,8 +2415,6 @@ _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);
@@ -2426,6 +2424,7 @@ _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))
{