- use Valuechanged mechanism

This commit is contained in:
jens
2020-11-29 12:37:18 +01:00
parent 135f2b6898
commit d16b6b272a
9 changed files with 1713 additions and 1673 deletions
+1 -2
View File
@@ -33,8 +33,7 @@ class ValueChanged(object):
class AttributeChange(object):
def __init__(self):
self.callbacks = {}
callbacks = {}
def set_on_changed(self, key, on_changed: ValueChanged):
if key not in self.callbacks: