forked from enlightenment/efl
elm_image: Fix remote image loading
Fixes commit dcb8b54aee3a545a1: - elm_image: do not preload full image on file_set. elementary_test "Image Remote" was not working anymore because the image was never loaded after download.
This commit is contained in:
parent
6e07a4c457
commit
39fe09b137
|
@ -889,6 +889,12 @@ _elm_image_smart_download_done(void *data, Elm_Url *url EINA_UNUSED, Eina_Binbuf
|
|||
}
|
||||
else
|
||||
{
|
||||
if (evas_object_visible_get(obj))
|
||||
{
|
||||
Evas_Object *eobj = elm_image_object_get(obj);
|
||||
evas_object_image_preload(eobj, EINA_FALSE);
|
||||
}
|
||||
|
||||
evas_object_smart_callback_call(obj, SIG_DOWNLOAD_DONE, NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue