elm_widget: eval the manager after the logicals are evalulated

for the obj is the only child of parent this would have lead to manager
  beeing NULL.
This commit is contained in:
Marcel Hollerbach 2017-09-18 14:23:52 +02:00
parent dcedaf8e09
commit 97d150daad
1 changed files with 2 additions and 1 deletions

View File

@ -499,7 +499,6 @@ _full_eval(Eo *obj, Elm_Widget_Smart_Data *pd)
Efl_Ui_Focus_Object *old_registered_parent, *old_registered_manager;
old_parent = _logical_parent_eval(obj, pd);
_focus_manager_eval(obj, pd);
if (old_parent)
{
@ -515,6 +514,8 @@ _full_eval(Eo *obj, Elm_Widget_Smart_Data *pd)
_full_eval(pd->logical.parent, new_pd);
}
_focus_manager_eval(obj, pd);
old_registered_parent = pd->focus.parent;
old_registered_manager = pd->focus.manager;