efl_ui_focus_manager: if there is no normal item then just do nothing

This commit is contained in:
Marcel Hollerbach 2016-12-21 13:19:47 +01:00
parent bd5bf5e719
commit 8c8570ba6a
1 changed files with 1 additions and 0 deletions

View File

@ -1097,6 +1097,7 @@ _efl_ui_focus_manager_focus(Eo *obj, Efl_Ui_Focus_Manager_Data *pd, Efl_Ui_Focus
if (focus == pd->root->focusable)
{
focus = _find_normal_node(pd->root);
if (!focus) return;
}
//check if node is part of this manager object