summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/python/shapes/line.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/python/shapes/line.py b/src/main/python/shapes/line.py
index 5ad61a7..c5d5b57 100644
--- a/src/main/python/shapes/line.py
+++ b/src/main/python/shapes/line.py
@@ -228,7 +228,7 @@ class Line(QGraphicsPathItem):
else:
path.lineTo(point - QPointF(8, 0))
path.arcTo(QRectF(x-8, y-8, 16, 16), 0, 180)
- path.lineTo(point - QPointF(8, 0))
+ path.lineTo(point + QPointF(8, 0))
path.lineTo(self.points[i+1])
painter.drawPath(path)