forked from enlightenment/efl
Eo: fix when detaching the composite of its parent ... that has to exist
This commit is contained in:
parent
cb92a60a61
commit
334ac705f3
|
@ -121,7 +121,7 @@ _parent_set(Eo *obj, void *class_data, va_list *list)
|
|||
if (pd->parent == parent_id)
|
||||
return ;
|
||||
|
||||
if (eo_composite_is(obj))
|
||||
if (eo_composite_is(obj) && pd->parent)
|
||||
{
|
||||
eo_composite_detach(obj, pd->parent);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue