summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaine2020-06-18 16:03:21 +0530
committerBlaine2020-06-18 16:03:21 +0530
commit5d08ffb7b9f28b9bd641c1d5981ea8b52f531c94 (patch)
tree37eb506a803978da6bfb91c5088c4cc414978c9f
parent85a2d6f42168a9e693b7649b979b86f7a94d6ca3 (diff)
downloadChemical-PFD-5d08ffb7b9f28b9bd641c1d5981ea8b52f531c94.tar.gz
Chemical-PFD-5d08ffb7b9f28b9bd641c1d5981ea8b52f531c94.tar.bz2
Chemical-PFD-5d08ffb7b9f28b9bd641c1d5981ea8b52f531c94.zip
save update 3
-rw-r--r--src/main/python/utils/canvas.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/python/utils/canvas.py b/src/main/python/utils/canvas.py
index ad8981d..d5888bf 100644
--- a/src/main/python/utils/canvas.py
+++ b/src/main/python/utils/canvas.py
@@ -174,11 +174,11 @@ class canvas(customView):
self.painter.addItem(line)
graphic, index = memMap[item['startGripItem']]
line.startGripItem = graphic.lineGripItems[index]
- graphic.lineGripItems[index].line = line
+ graphic.lineGripItems[index].lines.append(line)
if item['endGripItem']:
graphic, index = memMap[item['endGripItem']]
line.endGripItem = graphic.lineGripItems[index]
- graphic.lineGripItems[index].line = line
+ graphic.lineGripItems[index].lines.append(line)
else:
line.refLine = memMap[item['refLine']]
memMap[item['refLine']].midLines.append(line)