forked from enlightenment/efl
widget: don't access a widget focus if the object is not a widget.
This commit is contained in:
parent
b01d3c9e1b
commit
3ca0135de1
|
@ -413,6 +413,7 @@ _if_focused_revert(Evas_Object *obj,
|
||||||
Evas_Object *child;
|
Evas_Object *child;
|
||||||
EINA_LIST_FOREACH(sd2->subobjs, l, child)
|
EINA_LIST_FOREACH(sd2->subobjs, l, child)
|
||||||
{
|
{
|
||||||
|
if (!_elm_widget_is(child)) continue;
|
||||||
if (elm_widget_focus_get(child))
|
if (elm_widget_focus_get(child))
|
||||||
{
|
{
|
||||||
elm_widget_focused_object_clear(child);
|
elm_widget_focused_object_clear(child);
|
||||||
|
|
Loading…
Reference in New Issue