set child of zoomap as new content for comp util objects when changing type

the zoomap is deleted here anyway, so all this does is crash

ref 980135fc38
This commit is contained in:
Mike Blumenkrantz 2016-02-01 17:23:02 -05:00
parent b5103ac3e2
commit 6a4488faea
1 changed files with 1 additions and 0 deletions

View File

@ -2724,6 +2724,7 @@ e_comp_object_util_type_set(Evas_Object *obj, E_Comp_Object_Type type)
{
e_zoomap_child_set(content, NULL);
evas_object_del(content);
content = child;
}
edje_object_part_swallow(obj, "e.swallow.content", content);
}