diff options
author | Blaine | 2020-06-18 16:03:21 +0530 |
---|---|---|
committer | Blaine | 2020-06-18 16:03:21 +0530 |
commit | 5d08ffb7b9f28b9bd641c1d5981ea8b52f531c94 (patch) | |
tree | 37eb506a803978da6bfb91c5088c4cc414978c9f | |
parent | 85a2d6f42168a9e693b7649b979b86f7a94d6ca3 (diff) | |
download | Chemical-PFD-5d08ffb7b9f28b9bd641c1d5981ea8b52f531c94.tar.gz Chemical-PFD-5d08ffb7b9f28b9bd641c1d5981ea8b52f531c94.tar.bz2 Chemical-PFD-5d08ffb7b9f28b9bd641c1d5981ea8b52f531c94.zip |
save update 3
-rw-r--r-- | src/main/python/utils/canvas.py | 4 |
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) |