naviframe : fix focus logic while popping an item.

elm_widget_tree_unfocusable_set with EINA_TRUE sets focus to the newest
focused object. If prev item is tree_focusable, one of its children can
get focus. This focus movement is unexpected, so should not be happened.
This commit is contained in:
WooHyun Jung 2014-06-23 15:27:14 +09:00
parent d67d5f0930
commit 1deb003abe
1 changed files with 1 additions and 1 deletions

View File

@ -1631,8 +1631,8 @@ _elm_naviframe_item_pop(Eo *obj, Elm_Naviframe_Data *sd)
if (prev_it)
{
elm_widget_tree_unfocusable_set(VIEW(prev_it), EINA_FALSE);
elm_widget_tree_unfocusable_set(VIEW(it), EINA_TRUE);
elm_widget_tree_unfocusable_set(VIEW(prev_it), EINA_FALSE);
if (sd->freeze_events)
{