diff --git a/legacy/elementary/src/lib/elc_ctxpopup.c b/legacy/elementary/src/lib/elc_ctxpopup.c index 156e99eabf..24b46205f2 100644 --- a/legacy/elementary/src/lib/elc_ctxpopup.c +++ b/legacy/elementary/src/lib/elc_ctxpopup.c @@ -824,6 +824,8 @@ _item_icon_set(Elm_Ctxpopup_Item *item, Evas_Object *icon) } item->icon = icon; + if (!icon) return; + edje_object_part_swallow(item->base.view, "elm.swallow.icon", item->icon); edje_object_message_signal_process(item->base.view); }