elm_map: Add new overlay content to the list of smart members of wigdget

Summary: Without this a new overlay content aren't displayed into the map widget.

Reviewers: zmike, devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7457
This commit is contained in:
Michael Bouchaud (yoz) 2019-01-11 09:21:19 -05:00 committed by Christopher Michael
parent e676c989d1
commit 61179964c3
1 changed files with 2 additions and 0 deletions

View File

@ -1607,6 +1607,8 @@ _overlay_default_content_update(Overlay_Default *ovl,
if (ovl->content == content) return;
evas_object_del(ovl->content);
ovl->content = content;
evas_object_smart_member_add(ovl->content, ovl->wsd->pan_obj);
evas_object_stack_above(ovl->content, ovl->wsd->sep_maps_overlays);
if (ovl->content)
evas_object_event_callback_add(ovl->content, EVAS_CALLBACK_MOUSE_DOWN,