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:
Vyacheslav Reutskiy 2017-03-17 08:59:26 +02:00
parent 01972e5e25
commit 6723c3b1c3
1 changed files with 0 additions and 1 deletions

View File

@ -4405,7 +4405,6 @@ _item_select(Elm_Gen_Item *it)
it->walking++;
sd->walking++;
elm_object_item_focus_set(eo_it, EINA_TRUE);
sd->last_selected_item = eo_it;
if (it->func.func) it->func.func((void *)it->func.data, WIDGET(it), eo_it);