DF#QCADOO-376 fixed problem with event's dispatching