popup: fix title icon to show up.
Title icon of popup is not getting shown. steps to reproduce: 1. elementary_test -to "popup" 2. click "popup bottom title + text + 3 buttons" In the test popup example, the initial parent of icon is popup. The title_icon is reset to null while adjusting elm parent from popup to main_layout (elm_widget_sub_object_add which calls sub_object_del of popup) on swallowing icon to main_layout. Resolves: T2581 @fix
This commit is contained in:
parent
f9f9ae02a8
commit
d702afd22f
|
@ -439,7 +439,6 @@ _elm_popup_elm_widget_sub_object_del(Eo *obj, Elm_Popup_Data *sd, Evas_Object *s
|
|||
if (sobj == sd->title_icon)
|
||||
{
|
||||
elm_layout_signal_emit(sd->main_layout, "elm,state,title,icon,hidden", "elm");
|
||||
sd->title_icon = NULL;
|
||||
}
|
||||
else if ((it =
|
||||
evas_object_data_get(sobj, "_popup_icon_parent_item")) != NULL)
|
||||
|
|
Loading…
Reference in New Issue