forked from enlightenment/efl
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:
parent
97d150daad
commit
61db4947f4
|
@ -2105,6 +2105,7 @@ _edje_file_del(Edje *ed)
|
||||||
eina_stringshare_del(seat->name);
|
eina_stringshare_del(seat->name);
|
||||||
free(seat);
|
free(seat);
|
||||||
}
|
}
|
||||||
|
ed->seats_count = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ed->L) _edje_lua2_script_shutdown(ed);
|
if (ed->L) _edje_lua2_script_shutdown(ed);
|
||||||
|
|
Loading…
Reference in New Issue