forked from enlightenment/efl
efl_ui_focus_manager_calc: only focus none NULL candidates
This commit is contained in:
parent
ea5b0bdfde
commit
0b3a14a387
|
@ -1309,7 +1309,8 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, Efl_Ui
|
|||
{
|
||||
n = T(n).parent;
|
||||
new_candidate = _request_move(obj, pd, direction, n);
|
||||
efl_ui_focus_manager_focus_set(obj, new_candidate);
|
||||
if (new_candidate)
|
||||
efl_ui_focus_manager_focus_set(obj, new_candidate);
|
||||
candidate = new_candidate;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue