diff options
author | ChunEon Park <hermet@hermet.pe.kr> | 2014-12-30 15:44:19 +0900 |
---|---|---|
committer | ChunEon Park <hermet@hermet.pe.kr> | 2014-12-30 15:44:46 +0900 |
commit | d24314e7c4dbbf45c1b57dce7fbf31fde4b4eee3 (patch) | |
tree | ef72448b32f71d3645be4038681b46c72599ef6f | |
parent | 67854128d4650e1c2cd491edc32e134ddaaaaa3f (diff) | |
download | elementary-d24314e7c4dbbf45c1b57dce7fbf31fde4b4eee3.tar.gz |
Revert "genlist: return as possible as soon."
This reverts commit ef56ed167206612f146d2c70f5b35a7bcd62c4c6.
This caused logic change. should not be changed.
-rw-r--r-- | src/lib/elm_genlist.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index c99f579b8..383bb15c3 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -2382,8 +2382,6 @@ _item_multi_select_up(Elm_Genlist_Data *sd) if (!sd->multi) return EINA_FALSE; eo_prev = elm_genlist_item_prev_get(sd->last_selected_item); - if (!eo_prev) return EINA_TRUE; - while (eo_prev) { ELM_GENLIST_ITEM_DATA_GET(eo_prev, prev); @@ -2393,6 +2391,7 @@ _item_multi_select_up(Elm_Genlist_Data *sd) break; eo_prev = EO_OBJ(ELM_GEN_ITEM_FROM_INLIST(EINA_INLIST_GET(prev)->prev)); } + if (!eo_prev) return EINA_TRUE; if (elm_genlist_item_selected_get(eo_prev)) { |