If there's a filter and a program running don't execute another one.

SVN revision: 74249
This commit is contained in:
Jonas M. Gastal 2012-07-20 14:05:22 +00:00
parent c7f295b3e4
commit 390e859bb8
1 changed files with 7 additions and 2 deletions

View File

@ -1157,8 +1157,13 @@ _edje_emit_handle(Edje *ed, const char *sig, const char *src,
Edje_Real_Part *rp;
rp = _edje_real_part_get(ed, pr->filter.part ? pr->filter.part : src);
if (rp && !rp->program)
exec = (rp->chosen_description->state.name == pr->filter.state);
if (rp)
{
if (rp->program)
exec = EINA_FALSE;
else
exec = (rp->chosen_description->state.name == pr->filter.state);
}
}
pr->exec = exec;