discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=9ef0c17911376b3a019377ac9e0c0600725f9ded
commit 9ef0c17911376b3a019377ac9e0c0600725f9ded Author: zmike <[email protected]> Date: Fri Mar 14 13:55:11 2014 -0400 genlist shouldn't try to focus an item when it has no items --- src/lib/elm_genlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 0cfba4c..ca55cb7 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -2841,7 +2841,8 @@ _elm_genlist_smart_on_focus(Eo *obj, void *_pd EINA_UNUSED, va_list *list) else { it = elm_genlist_first_item_get(obj); - elm_object_item_focus_set(it, EINA_TRUE); + if (it) + elm_object_item_focus_set(it, EINA_TRUE); } } else --
