edje_pick: use correct id's for exported groups

@fix
This commit is contained in:
Vitalii Vorobiov 2016-12-09 11:50:43 +02:00
parent 712ec60012
commit 39e67b500c
1 changed files with 4 additions and 3 deletions

View File

@ -1376,10 +1376,11 @@ static int
_edje_pick_collection_process(Edje_Part_Collection *edc, Edje_File *edf, Edje_File *o)
{
/* Update all IDs, NAMES in current collection */
static int current_collection_id = 0;
Edje_Part_Collection_Directory_Entry *ce;
ce = eina_hash_find(o->collection, edc->part);
edc->id = ce->id;
edc->id = current_collection_id;
current_collection_id++;
_edje_pick_images_process(edc, edf, o);
_edje_pick_programs_process(edc);