efl_ui_focus_manager_calc: drop redirect if there is no candidate
This commit is contained in:
parent
139efaaba3
commit
3571b35a30
|
@ -1730,6 +1730,14 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, Efl_Ui
|
|||
efl_ui_focus_manager_focus_set(obj, new_candidate);
|
||||
adjust_redirect_manager = EINA_TRUE;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
candidate = new_candidate;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue