forked from enlightenment/efl
win: Check null before calling elm_widget_highlight_in_theme_get(). It
can be null. 'target' can be null when the focus in is just called.
This commit is contained in:
parent
b1743d7d16
commit
7dd5fe10af
|
@ -1373,7 +1373,7 @@ _elm_win_object_focus_in(void *data,
|
|||
|
||||
target = _elm_win_focus_target_get(obj);
|
||||
sd->focus_highlight.cur.target = target;
|
||||
if (elm_widget_highlight_in_theme_get(target))
|
||||
if (target && elm_widget_highlight_in_theme_get(target))
|
||||
sd->focus_highlight.cur.handled = EINA_TRUE;
|
||||
else
|
||||
_elm_win_focus_target_callbacks_add(sd);
|
||||
|
|
Loading…
Reference in New Issue