efl_ui_focus_manager: do not enter Nodes with redirects

we always want the redirect on the lowest level.
This commit is contained in:
Marcel Hollerbach 2017-10-27 09:42:22 +02:00
parent 710d3e2f72
commit 3139b0f7f5
1 changed files with 2 additions and 2 deletions

View File

@ -1168,13 +1168,13 @@ _prev(Node *node)
efl_ui_focus_object_prepare_logical(n->focusable);
//case 1 there is a item in the parent previous to node, which has children
if (n && T(n).children)
if (n && T(n).children && !n->redirect_manager)
{
do
{
n = eina_list_last_data_get(T(n).children);
}
while (T(n).children);
while (T(n).children && !n->redirect_manager);
return n;
}