From 3c7a00172b3b86add668257ca35b873fc85a7017 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Sat, 8 Jun 2019 23:46:19 -0400 Subject: final refactor for missing parameters --- python/undoaction.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'python/undoaction.py') 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 -- cgit v1.3.1