efl_ui_focus_manager_calc: do not set focus on a deletion manager

otherwise objects might already be on the way out, without a elementary
parent.
This commit is contained in:
Marcel Hollerbach 2018-03-15 15:01:10 +01:00
parent 8746c275f5
commit 875a7eb0da
1 changed files with 1 additions and 1 deletions

View File

@ -1026,7 +1026,7 @@ _efl_ui_focus_manager_calc_unregister(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_
eina_hash_del_by_key(pd->node_hash, &child);
if (refocus)
if (refocus && !efl_invalidated_get(pd->root->focusable))
{
Node *n = eina_list_last_data_get(pd->focus_stack);
if (!n)