gengrid clear should do nothing if there are no items

This commit is contained in:
zmike 2014-03-14 14:15:22 -04:00
parent 91a9805bc4
commit c2d994e996
1 changed files with 1 additions and 0 deletions

View File

@ -2223,6 +2223,7 @@ _elm_gengrid_clear(Evas_Object *obj,
Eina_Inlist *next, *l;
ELM_GENGRID_DATA_GET(obj, sd);
if (!sd->items) return;
if (!standby) sd->generation++;