diff options
-rw-r--r-- | src/main/python/utils/canvas.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/python/utils/canvas.py b/src/main/python/utils/canvas.py index 674d27c..88e3c43 100644 --- a/src/main/python/utils/canvas.py +++ b/src/main/python/utils/canvas.py @@ -31,7 +31,7 @@ class canvas(customView): #set layout and background color self.painter = customScene() self.painter.setBackgroundBrush(QBrush(Qt.white)) #set white background - self.setScene = self.painter + self.setScene(self.painter) #set initial paper size for the scene self.painter.setSceneRect(0, 0, *paperSizes[self._canvasSize][self._ppi]) |