summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehwan Kim <jae.hwan.kim@samsung.com>2015-08-31 16:21:26 +0900
committerJaehwan Kim <jae.hwan.kim@samsung.com>2015-08-31 16:22:54 +0900
commitc3a48a3b8ed8381d24b67c9bed42b42fa4bc468c (patch)
treedb25ac30bdf20f61d7c509b7306c055c4cef4674
parent653be323169ca2df15717571287cbe469a09b120 (diff)
gengrid: fix crash issue.
Sometimes the focused_item can be null. @fix
-rw-r--r--src/lib/elm_gengrid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 4b98b537b..b519c2555 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -3380,6 +3380,7 @@ _key_action_select(Evas_Object *obj, const char *params)
3380{ 3380{
3381 ELM_GENGRID_DATA_GET(obj, sd); 3381 ELM_GENGRID_DATA_GET(obj, sd);
3382 Elm_Object_Item *eo_it = elm_object_focused_item_get(obj); 3382 Elm_Object_Item *eo_it = elm_object_focused_item_get(obj);
3383 if (!eo_it) return EINA_TRUE;
3383 ELM_GENGRID_ITEM_DATA_GET(eo_it, it); 3384 ELM_GENGRID_ITEM_DATA_GET(eo_it, it);
3384 3385
3385 if (sd->multi && 3386 if (sd->multi &&