forked from enlightenment/efl
toolbar: item content unset function called when user content unset to toolbar item.
Summary: It's related with https://phab.enlightenment.org/D2777 I missed doing on content_unset case. Reviewers: Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D2808
This commit is contained in:
parent
ff68a39745
commit
3237ad9e78
|
@ -1620,7 +1620,11 @@ _elm_toolbar_item_elm_widget_item_part_content_unset(Eo *eo_item EINA_UNUSED, El
|
|||
|
||||
ELM_TOOLBAR_DATA_GET(obj, sd);
|
||||
|
||||
if (part && strcmp(part, "object")) return NULL;
|
||||
if (part && strcmp(part, "object") && strcmp(part, "elm.swallow.object"))
|
||||
{
|
||||
eo_do(VIEW(item), o = elm_obj_container_content_unset(part));
|
||||
return o;
|
||||
}
|
||||
|
||||
elm_layout_content_unset(VIEW(item), "elm.swallow.object");
|
||||
elm_widget_sub_object_del(obj, item->object);
|
||||
|
|
Loading…
Reference in New Issue