efl_ui_focus_manager_calc: partly revert 3571b35a30

And document why this must be, so the same error is not done again :)

fix T6908
This commit is contained in:
Marcel Hollerbach 2018-05-01 19:35:10 +02:00
parent dc57abfafd
commit d1a89cfd9d
1 changed files with 6 additions and 5 deletions

View File

@ -1454,11 +1454,12 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, Efl_Ui
}
else
{
//we set the redirect to NULL since it cannot
//help us, later on the redirect manager can be
//set to the same again, and it is strictly new setted up.
efl_ui_focus_manager_redirect_set(obj, NULL);
pd->redirect_entry = NULL;
/*
DO NOT unset the redirect here, the value has to stay,
if one direction is not continuing in one direction, the
other can continue thus we need to safe the redirect for this case.
*/
}
candidate = new_candidate;