forked from enlightenment/efl
gengrid: avoid call select callback twice in mode ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL
If multi select mode is ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL and user code try unselect a item and select another part which not realized select callback calls twice in this case. For avoid this no needs focus newly selected item. @fix
This commit is contained in:
parent
01972e5e25
commit
6723c3b1c3
|
@ -4405,7 +4405,6 @@ _item_select(Elm_Gen_Item *it)
|
||||||
it->walking++;
|
it->walking++;
|
||||||
sd->walking++;
|
sd->walking++;
|
||||||
|
|
||||||
elm_object_item_focus_set(eo_it, EINA_TRUE);
|
|
||||||
sd->last_selected_item = eo_it;
|
sd->last_selected_item = eo_it;
|
||||||
|
|
||||||
if (it->func.func) it->func.func((void *)it->func.data, WIDGET(it), eo_it);
|
if (it->func.func) it->func.func((void *)it->func.data, WIDGET(it), eo_it);
|
||||||
|
|
Loading…
Reference in New Issue