summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2014-06-23 15:27:14 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2014-06-23 15:27:14 +0900
commit0414c4d6f8388951df1ba639bdd827aed7b8719e (patch)
tree827db391ec28a9fdbf155f56bb1ac8ea96534017
parent76956fd9bd8d85b130ba820b97f72b1efb473a28 (diff)
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.
-rw-r--r--src/lib/elc_naviframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index dd96946ff..4eae8b071 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -1631,8 +1631,8 @@ _elm_naviframe_item_pop(Eo *obj, Elm_Naviframe_Data *sd)
1631 1631
1632 if (prev_it) 1632 if (prev_it)
1633 { 1633 {
1634 elm_widget_tree_unfocusable_set(VIEW(prev_it), EINA_FALSE);
1635 elm_widget_tree_unfocusable_set(VIEW(it), EINA_TRUE); 1634 elm_widget_tree_unfocusable_set(VIEW(it), EINA_TRUE);
1635 elm_widget_tree_unfocusable_set(VIEW(prev_it), EINA_FALSE);
1636 1636
1637 if (sd->freeze_events) 1637 if (sd->freeze_events)
1638 { 1638 {