jaehwan pushed a commit to branch elementary-1.15.

http://git.enlightenment.org/core/elementary.git/commit/?id=c3a48a3b8ed8381d24b67c9bed42b42fa4bc468c

commit c3a48a3b8ed8381d24b67c9bed42b42fa4bc468c
Author: Jaehwan Kim <jae.hwan....@samsung.com>
Date:   Mon Aug 31 16:21:26 2015 +0900

    gengrid: fix crash issue.
    
    Sometimes the focused_item can be null.
    
    @fix
---
 src/lib/elm_gengrid.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 4b98b53..b519c25 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)
 {
    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 &&

-- 


Reply via email to