forked from enlightenment/efl
elementary/ctxpopup - fixed a minor error
added exception for the null icon set. SVN revision: 57842
This commit is contained in:
parent
610284eab8
commit
c7e693adb6
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue