forked from enlightenment/efl
popup : fix create scroller bug when list item add.
Summary: data-> scr = scroller object data-> scroll = scrollable flag. in _list_add function, when scroller object is not created, do _create_scroller. if (!sd->scroll) _create_scroller(obj); must change to if (!sd->scr) _create_scroller(obj); @fix Reviewers: jaehwan, id213sin, cedric, raster, singh.amitesh Reviewed By: singh.amitesh Subscribers: herb, jpeg Differential Revision: https://phab.enlightenment.org/D3866
This commit is contained in:
parent
776f4cb112
commit
c2cebb9fbc
|
@ -687,7 +687,7 @@ _list_add(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
ELM_POPUP_DATA_GET(obj, sd);
|
ELM_POPUP_DATA_GET(obj, sd);
|
||||||
|
|
||||||
if (!sd->scroll)
|
if (!sd->scr)
|
||||||
_create_scroller(obj);
|
_create_scroller(obj);
|
||||||
//Box
|
//Box
|
||||||
sd->box = elm_box_add(sd->scr);
|
sd->box = elm_box_add(sd->scr);
|
||||||
|
|
Loading…
Reference in New Issue