forked from enlightenment/efl
widget: check next_item existence when focusing before calling widget fns
ERR<eo>lib/eo/eo.c:753 Unable to resolve op for api func 0x7ffff7cc17ce
This commit is contained in:
parent
3d91738f35
commit
cbf818e211
|
@ -2432,7 +2432,8 @@ _elm_widget_focus_next_get(const Eo *obj, Elm_Widget_Smart_Data *sd, Elm_Focus_D
|
|||
*next_item = sd->item_focus_right;
|
||||
else if (dir == ELM_FOCUS_LEFT)
|
||||
*next_item = sd->item_focus_left;
|
||||
o = elm_object_item_widget_get(*next_item);
|
||||
if (*next_item)
|
||||
o = elm_object_item_widget_get(*next_item);
|
||||
|
||||
if (!o)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue