summaryrefslogtreecommitdiff
path: root/python/undoaction.py
diff options
context:
space:
mode:
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