fix events

This commit is contained in:
Jakob Ketterl 2021-01-24 21:58:15 +01:00
parent 4b03ced1f7
commit 49577953c6

View File

@ -157,6 +157,7 @@ class PropertyValidationError(Exception):
class PropertyValidator(PropertyManager): class PropertyValidator(PropertyManager):
def __init__(self, pm: PropertyManager, validators=None): def __init__(self, pm: PropertyManager, validators=None):
self.pm = pm self.pm = pm
self.pm.wire(self._fireCallbacks)
if validators is None: if validators is None:
self.validators = {} self.validators = {}
else: else: