genlist: fix resize of items when added after elm_genlist_clear().

Summary:
This fixes following issue.

1. Add genlist items
2. Clear genlist by elm_genlist_clear()
3. Append items.
   Genlist items are shrinked. This patch fixes that issue.

@fix
Partially resolves: T2367

Reviewers: Hermet, raster, cedric, raoulh, SanghyeonLee

Subscribers: sachin.dev, seoz

Differential Revision: https://phab.enlightenment.org/D2733
This commit is contained in:
Amitesh Singh 2015-06-22 19:06:21 +09:00 committed by Carsten Haitzler (Rasterman)
parent e04954710d
commit a7684bfb5c
1 changed files with 1 additions and 2 deletions

View File

@ -4425,9 +4425,8 @@ _item_process_post(Elm_Genlist_Data *sd,
it->item->block->changed = 0;
if (sd->pan_changed)
{
evas_object_smart_changed(sd->pan_obj);
ELM_SAFE_FREE(sd->calc_job, ecore_job_del);
_calc_job(sd->obj);
sd->pan_changed = EINA_FALSE;
}
}
if (show_me) it->item->block->show_me = EINA_TRUE;