summaryrefslogtreecommitdiff
path: root/python/undoaction.py
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2019-06-08 23:46:19 -0400
committerJordan Wiens <jordan@psifertex.com>2019-06-08 23:46:19 -0400
commit3c7a00172b3b86add668257ca35b873fc85a7017 (patch)
tree73fa2eadacb5b8722258c159076bf48082eb607e /python/undoaction.py
parentef4e70f68d8c0855bcc64ad49f8f47a78dd3552a (diff)
final refactor for missing parameters
Diffstat (limited to 'python/undoaction.py')
-rw-r--r--python/undoaction.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/python/undoaction.py b/python/undoaction.py
index 7690f930..d35c8d42 100644
--- a/python/undoaction.py
+++ b/python/undoaction.py
@@ -47,7 +47,7 @@ class UndoAction(object):
self._cb.undo = self._cb.undo.__class__(self._undo)
self._cb.redo = self._cb.redo.__class__(self._redo)
self._cb.serialize = self._cb.serialize.__class__(self._serialize)
- self.view = view
+ self._view = view
@classmethod
def register(cls):
@@ -96,3 +96,12 @@ class UndoAction(object):
except:
log.log_error(traceback.format_exc())
return "null"
+
+ @property
+ def view(self):
+ """ """
+ return self._view
+
+ @view.setter
+ def view(self, value):
+ self._view = value