summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-01-08 23:58:11 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-01-08 23:58:11 +0900
commit832f53ebfb5e4a50b8ae481e083c43b203bdfd2e (patch)
tree6eb265551698bea28220968d1100b9e67c8d4826
parent4fecb1cc9a4624d44369277bf51f1a0401d31c71 (diff)
genlist: if the item was selected, then skip item_select() procedure.
-rw-r--r--src/lib/elm_genlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 1974ca73a..38261d767 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -5657,6 +5657,9 @@ _item_select(Elm_Gen_Item *it)
5657 5657
5658 if (eo_do(eo_it, elm_wdg_item_disabled_get())) return; 5658 if (eo_do(eo_it, elm_wdg_item_disabled_get())) return;
5659 if (_is_no_select(it) || (it->decorate_it_set)) return; 5659 if (_is_no_select(it) || (it->decorate_it_set)) return;
5660 if ((sd->select_mode != ELM_OBJECT_SELECT_MODE_ALWAYS) &&
5661 (it->select_mode != ELM_OBJECT_SELECT_MODE_ALWAYS) && it->selected)
5662 return;
5660 5663
5661 if (!sd->multi) 5664 if (!sd->multi)
5662 { 5665 {