Summary:
After item looping, Gengrid item was getting selected.
So, checked for item_select_on_focus_disable flag and
accordingly set focus state or selected state of Gengrid item.
@fix
Signed-off-by: Yeshwanth Reddivari <r.yeshwanth@samsung.com>
Reviewers: raster, Hermet, singh.amitesh, SanghyeonLee
Subscribers: sachin.dev
Differential Revision: https://phab.enlightenment.org/D2937
}
else
{
- elm_gengrid_item_selected_set(eo_item, EINA_TRUE);
+ if (_elm_config->item_select_on_focus_disable)
+ elm_object_item_focus_set(eo_item, EINA_TRUE);
+ else
+ elm_gengrid_item_selected_set(eo_item, EINA_TRUE);
return EINA_TRUE;
}
return EINA_FALSE;