ami pushed a commit to branch elementary-1.15. http://git.enlightenment.org/core/elementary.git/commit/?id=0ea553b327e042e40696f8f86da8411c694cdcf9
commit 0ea553b327e042e40696f8f86da8411c694cdcf9 Author: WooHyun Jung <wh0705.j...@samsung.com> Date: Mon Aug 31 16:15:55 2015 +0900 naviframe: fix a focus issue when deleting the first item Summary: When the first item is deleted, focus should not be reverted back to an object in the content of the item. @fix --- src/lib/elc_naviframe.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c index 4eab3c9..a0c64d9 100644 --- a/src/lib/elc_naviframe.c +++ b/src/lib/elc_naviframe.c @@ -553,7 +553,11 @@ _elm_naviframe_item_eo_base_destructor(Eo *eo_item, Elm_Naviframe_Item_Data *it) if (sd->stack && sd->stack->last) prev_it = EINA_INLIST_CONTAINER_GET(sd->stack->last, Elm_Naviframe_Item_Data); - if (!prev_it) goto end; + if (!prev_it) + { + elm_widget_tree_unfocusable_set(VIEW(nit), EINA_TRUE); + goto end; + } elm_widget_tree_unfocusable_set(VIEW(prev_it), EINA_FALSE); elm_widget_tree_unfocusable_set(VIEW(nit), EINA_TRUE); --