summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_image.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c
index 4dea543391..55a197e7a0 100644
--- a/src/lib/elementary/efl_ui_image.c
+++ b/src/lib/elementary/efl_ui_image.c
@@ -2557,7 +2557,12 @@ elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disable)
2557 EFL_UI_IMAGE_CHECK(obj); 2557 EFL_UI_IMAGE_CHECK(obj);
2558 EFL_UI_IMAGE_DATA_GET(obj, sd); 2558 EFL_UI_IMAGE_DATA_GET(obj, sd);
2559 2559
2560 if (sd->edje || !sd->img) return; 2560 if (sd->edje) return;
2561 if (!sd->img)
2562 {
2563 if (disable) sd->preload_status = EFL_UI_IMAGE_PRELOAD_DISABLED;
2564 return;
2565 }
2561 2566
2562 if (disable) 2567 if (disable)
2563 { 2568 {