From 737961c33741348a79987efbad35cf78c8d3a613 Mon Sep 17 00:00:00 2001 From: Blaine Date: Thu, 11 Jun 2020 22:47:40 +0530 Subject: fixed typo --- src/main/python/utils/canvas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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]) -- cgit