gengrid clear should do nothing if there are no items
This commit is contained in:
parent
91a9805bc4
commit
c2d994e996
|
@ -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++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue