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:21:57 +0900
commitaeefb29062dfac0b00afc54cdf4de1bd461c8e2a (patch)
tree29db72052a1e3b73c401eb1da5d4b5b44b8c15ea
parenta1566603c62a3aea4e032d161e610227e538a600 (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 3f392e2f8..66a8eff01 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -3387,6 +3387,7 @@ _key_action_select(Evas_Object *obj, const char *params)
3387{ 3387{
3388 ELM_GENGRID_DATA_GET(obj, sd); 3388 ELM_GENGRID_DATA_GET(obj, sd);
3389 Elm_Object_Item *eo_it = elm_object_focused_item_get(obj); 3389 Elm_Object_Item *eo_it = elm_object_focused_item_get(obj);
3390 if (!eo_it) return EINA_TRUE;
3390 ELM_GENGRID_ITEM_DATA_GET(eo_it, it); 3391 ELM_GENGRID_ITEM_DATA_GET(eo_it, it);
3391 3392
3392 if (sd->multi && 3393 if (sd->multi &&