diff options
Diffstat (limited to 'src/main/python/utils/canvas.py')
-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) |