summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_item.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_item.c')
-rw-r--r--src/lib/elementary/efl_ui_item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_item.c b/src/lib/elementary/efl_ui_item.c
index bd6de1a..1b0c4f1 100644
--- a/src/lib/elementary/efl_ui_item.c
+++ b/src/lib/elementary/efl_ui_item.c
@@ -45,7 +45,7 @@ _item_select(Eo *obj, Efl_Ui_Item_Data *pd)
45 if (pd->container) 45 if (pd->container)
46 { 46 {
47 m = _fetch_state(pd->container); 47 m = _fetch_state(pd->container);
48 if (m == EFL_UI_SELECT_MODE_NONE || (pd->selected && m != EFL_UI_SELECT_MODE_SINGLE_ALWAYS)) 48 if (m == EFL_UI_SELECT_MODE_NONE)
49 return; 49 return;
50 } 50 }
51 else 51 else
@@ -95,7 +95,7 @@ _item_unpressed(void *data, const Efl_Event *ev EINA_UNUSED)
95 efl_layout_signal_emit(obj, "efl,state,unpressed", "efl"); 95 efl_layout_signal_emit(obj, "efl,state,unpressed", "efl");
96 m = _fetch_state(pd->container); 96 m = _fetch_state(pd->container);
97 97
98 if ((m != EFL_UI_SELECT_MODE_SINGLE_ALWAYS) && (pd->selected)) 98 if (pd->selected)
99 efl_ui_selectable_selected_set(obj, EINA_FALSE); 99 efl_ui_selectable_selected_set(obj, EINA_FALSE);
100 else if (m != EFL_UI_SELECT_MODE_NONE) 100 else if (m != EFL_UI_SELECT_MODE_NONE)
101 efl_ui_selectable_selected_set(obj, EINA_TRUE); 101 efl_ui_selectable_selected_set(obj, EINA_TRUE);