gengrid: fix crash issue.

Sometimes the focused_item can be null.

@fix
This commit is contained in:
Jaehwan Kim 2015-08-31 16:21:26 +09:00
parent 04aa8dc109
commit 290e0a4ce5
1 changed files with 1 additions and 0 deletions

View File

@ -3387,6 +3387,7 @@ _key_action_select(Evas_Object *obj, const char *params)
{
ELM_GENGRID_DATA_GET(obj, sd);
Elm_Object_Item *eo_it = elm_object_focused_item_get(obj);
if (!eo_it) return EINA_TRUE;
ELM_GENGRID_ITEM_DATA_GET(eo_it, it);
if (sd->multi &&