summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorBlaine2020-06-11 22:47:40 +0530
committerBlaine2020-06-11 22:47:40 +0530
commit737961c33741348a79987efbad35cf78c8d3a613 (patch)
treedac89b9a95a4831d4ecad39e9751bdd724892296 /src/main
parent6ac91c9a9fc3adc2ed23e396ab718cba3e21a188 (diff)
downloadChemical-PFD-737961c33741348a79987efbad35cf78c8d3a613.tar.gz
Chemical-PFD-737961c33741348a79987efbad35cf78c8d3a613.tar.bz2
Chemical-PFD-737961c33741348a79987efbad35cf78c8d3a613.zip
fixed typo
Diffstat (limited to 'src/main')
-rw-r--r--src/main/python/utils/canvas.py2
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])