comp obj - make sure icon is shown when swallowed

This commit is contained in:
Carsten Haitzler 2021-03-04 09:46:05 +00:00
parent b744cd6d44
commit 8ebe1ab017
1 changed files with 2 additions and 0 deletions

View File

@ -3423,6 +3423,8 @@ e_comp_object_frame_icon_update(Evas_Object *obj)
if (!cw->frame_icon) return EINA_TRUE;
if (!edje_object_part_swallow(cw->frame_object, "e.swallow.icon", cw->frame_icon))
E_FREE_FUNC(cw->frame_icon, evas_object_del);
else
evas_object_show(cw->frame_icon);
return EINA_TRUE;
}