Edje load: reset seats counter on file_del

The seats list got emptied, but the counter progression was kept,
causing needless different seat names for the same device across
different edje objects.
This commit is contained in:
Daniel Hirt 2017-09-18 19:33:42 +03:00
parent 97d150daad
commit 61db4947f4
1 changed files with 1 additions and 0 deletions

View File

@ -2105,6 +2105,7 @@ _edje_file_del(Edje *ed)
eina_stringshare_del(seat->name);
free(seat);
}
ed->seats_count = 0;
}
if (ed->L) _edje_lua2_script_shutdown(ed);