efl_ui_focus_manager: do not call on a NULL object

This commit is contained in:
Marcel Hollerbach 2018-02-20 16:47:55 +01:00
parent ea6a4e1a60
commit d9ae0657e8
1 changed files with 2 additions and 1 deletions

View File

@ -1731,7 +1731,8 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, Efl_Ui
if (early != late)
{
//this is a new manager, we have to init its case!
efl_ui_focus_manager_setup_on_first_touch(pd->redirect, direction, candidate);
if (late)
efl_ui_focus_manager_setup_on_first_touch(late, direction, candidate);
}
}