gengrid: fix crash issue.
Sometimes the focused_item can be null. @fix
This commit is contained in:
parent
04aa8dc109
commit
290e0a4ce5
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue