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
This commit is contained in:
WooHyun Jung 2012-03-15 05:37:17 +00:00
parent 46a9b517e7
commit 66eab44829
1 changed files with 5 additions and 0 deletions

View File

@ -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);