summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_collection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_collection.c')
-rw-r--r--src/lib/elementary/efl_ui_collection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_collection.c b/src/lib/elementary/efl_ui_collection.c
index 2a666f2..1763b65 100644
--- a/src/lib/elementary/efl_ui_collection.c
+++ b/src/lib/elementary/efl_ui_collection.c
@@ -486,7 +486,7 @@ EOLIAN static void
486_efl_ui_collection_efl_ui_multi_selectable_select_mode_set(Eo *obj EINA_UNUSED, Efl_Ui_Collection_Data *pd, Efl_Ui_Select_Mode mode) 486_efl_ui_collection_efl_ui_multi_selectable_select_mode_set(Eo *obj EINA_UNUSED, Efl_Ui_Collection_Data *pd, Efl_Ui_Select_Mode mode)
487{ 487{
488 pd->mode = mode; 488 pd->mode = mode;
489 if ((mode == EFL_UI_SELECT_MODE_SINGLE_ALWAYS || mode == EFL_UI_SELECT_MODE_SINGLE) && 489 if ((mode == EFL_UI_SELECT_MODE_SINGLE) &&
490 eina_list_count(pd->selected) > 0) 490 eina_list_count(pd->selected) > 0)
491 { 491 {
492 Efl_Ui_Item *last = eina_list_last_data_get(pd->selected); 492 Efl_Ui_Item *last = eina_list_last_data_get(pd->selected);
@@ -569,7 +569,7 @@ _selection_changed(void *data, const Efl_Event *ev)
569 569
570 if (selection) 570 if (selection)
571 { 571 {
572 if (pd->mode == EFL_UI_SELECT_MODE_SINGLE_ALWAYS || pd->mode == EFL_UI_SELECT_MODE_SINGLE) 572 if (pd->mode == EFL_UI_SELECT_MODE_SINGLE)
573 { 573 {
574 _single_selection_behaviour(obj, pd, ev->object); 574 _single_selection_behaviour(obj, pd, ev->object);
575 } 575 }