make reload work properly...

SVN revision: 40670
This commit is contained in:
Carsten Haitzler 2009-05-15 11:48:20 +00:00
parent e50d237d83
commit 1d75ac114a
1 changed files with 2 additions and 0 deletions

View File

@ -1323,6 +1323,8 @@ evas_object_image_reload(Evas_Object *obj)
o->engine_data = obj->layer->evas->engine.func->image_dirty_region(obj->layer->evas->engine.data.output, o->engine_data, 0, 0, o->cur.image.w, o->cur.image.h);
evas_object_image_unload(obj, 1);
evas_object_image_load(obj);
o->prev.file = NULL;
o->prev.key = NULL;
o->changed = 1;
evas_object_change(obj);
}