forked from enlightenment/efl
elm/gen*: only call focus_object_setup_order_non_recursive if realized
Summary: this function cannot process unrealized items @fix Depends on D8990 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8992
This commit is contained in:
parent
9144055498
commit
87e589a6b9
|
@ -5867,7 +5867,8 @@ _elm_gengrid_item_efl_ui_focus_object_setup_order_non_recursive(Eo *obj, Elm_Gen
|
|||
_elm_widget_full_eval(wid);
|
||||
}
|
||||
|
||||
efl_ui_focus_object_setup_order_non_recursive(efl_super(obj, ELM_GENGRID_ITEM_CLASS));
|
||||
if (pd->realized)
|
||||
efl_ui_focus_object_setup_order_non_recursive(efl_super(obj, ELM_GENGRID_ITEM_CLASS));
|
||||
}
|
||||
|
||||
EOLIAN static Efl_Ui_Focus_Object*
|
||||
|
|
|
@ -8924,7 +8924,8 @@ _elm_genlist_item_efl_ui_focus_object_setup_order_non_recursive(Eo *obj, Elm_Gen
|
|||
_elm_widget_full_eval(wid);
|
||||
}
|
||||
|
||||
efl_ui_focus_object_setup_order_non_recursive(efl_super(obj, ELM_GENLIST_ITEM_CLASS));
|
||||
if (pd->realized)
|
||||
efl_ui_focus_object_setup_order_non_recursive(efl_super(obj, ELM_GENLIST_ITEM_CLASS));
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
|
|
Loading…
Reference in New Issue