- use Valuechanged mechanism
This commit is contained in:
+1
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user