elm_****: do not make group items focusable

This commit is contained in:
Marcel Hollerbach 2018-04-25 14:00:28 +02:00
parent bd9b112094
commit 5815ba52ec
2 changed files with 4 additions and 0 deletions

View File

@ -5731,6 +5731,8 @@ _elm_gengrid_efl_ui_focus_composition_prepare(Eo *obj, Elm_Gengrid_Data *pd)
{
if (item->base->disabled)
continue;
if (item->group)
continue;
order = eina_list_append(order, item->base->eo_obj);
}

View File

@ -8752,6 +8752,8 @@ _elm_genlist_efl_ui_focus_composition_prepare(Eo *obj, Elm_Genlist_Data *pd)
{
if (item->base->disabled)
continue;
if (item->item->type == ELM_GENLIST_ITEM_GROUP)
continue;
order = eina_list_append(order, item->base->eo_obj);
}