Summary:
when Efl.Ui.Image has an image,
efl_file_set(efl_added, NULL, NULL) is not working.
I think this should remove prevous image and go back to empty image.
@fix
Reviewers: jpeg, cedric, eunue, woohyun, Jaehyun_Cho
Subscribers: Blackmole
Differential Revision: https://phab.enlightenment.org/D5742
sd->anim = EINA_FALSE;
}
- if (!file && !sd->prev_img) return EINA_FALSE;
- else if (!file && sd->prev_img)
+ if (!file)
{
- _prev_img_del(sd);
- return EINA_TRUE;
+ if (sd->prev_img)
+ _prev_img_del(sd);
+ return _efl_ui_image_smart_internal_file_set(obj, sd, file, NULL, key);;
}
if (_efl_ui_image_is_remote(file))