forked from enlightenment/efl
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:
parent
8746c275f5
commit
875a7eb0da
|
@ -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);
|
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);
|
Node *n = eina_list_last_data_get(pd->focus_stack);
|
||||||
if (!n)
|
if (!n)
|
||||||
|
|
Loading…
Reference in New Issue