diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/python/utils/canvas.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/python/utils/canvas.py b/src/main/python/utils/canvas.py index c101422..6f0fb23 100644 --- a/src/main/python/utils/canvas.py +++ b/src/main/python/utils/canvas.py @@ -73,4 +73,5 @@ class canvas(QWidget): self.setObjectName(dict['ObjectName']) for item in dict['items']: graphic = getattr(graphics, dict['_classname_']) - self.painter.addItem(item) + graphic.setstate(item) + self.painter.addItem(graphic) |