From 66eab44829ff0162239e662e4f8a0a56ef0aad26 Mon Sep 17 00:00:00 2001 From: WooHyun Jung Date: Thu, 15 Mar 2012 05:37:17 +0000 Subject: [PATCH] elementary/naviframe : Fix a focus bug. When popping, new top content should be focusable if it was set as unfocusable before by pushing item. SVN revision: 69354 --- legacy/elementary/src/lib/elc_naviframe.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/legacy/elementary/src/lib/elc_naviframe.c b/legacy/elementary/src/lib/elc_naviframe.c index e354e1981a..ff2c34529b 100644 --- a/legacy/elementary/src/lib/elc_naviframe.c +++ b/legacy/elementary/src/lib/elc_naviframe.c @@ -900,6 +900,11 @@ _show_finished(void *data, wd = elm_widget_data_get(WIDGET(it)); if (!wd) return; + // FIXME : If current top's content is unfocusable, it should be restored as focusable. + // Similar cases are should be checked and should call following function. + if (elm_widget_tree_unfocusable_get(it->content)) + elm_widget_tree_unfocusable_set(it->content, EINA_FALSE); + evas_object_smart_callback_call(WIDGET(it), SIG_TRANSITION_FINISHED, data);