summaryrefslogtreecommitdiff
path: root/src/main/python/shapes
diff options
context:
space:
mode:
authorsumit2020-06-10 21:39:39 +0530
committersumit2020-06-10 21:39:39 +0530
commit3df4b5f186ff479fd4ad1b5b9f697370bbaea9b4 (patch)
tree9e17a77a79c085b93b3d894665185db6cb24cf87 /src/main/python/shapes
parent88f97bd68990f72045a8e0cf532aab83848065dc (diff)
downloadChemical-PFD-3df4b5f186ff479fd4ad1b5b9f697370bbaea9b4.tar.gz
Chemical-PFD-3df4b5f186ff479fd4ad1b5b9f697370bbaea9b4.tar.bz2
Chemical-PFD-3df4b5f186ff479fd4ad1b5b9f697370bbaea9b4.zip
fix in arrow
Diffstat (limited to 'src/main/python/shapes')
-rw-r--r--src/main/python/shapes/line.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/python/shapes/line.py b/src/main/python/shapes/line.py
index 2223c1d..f890ee5 100644
--- a/src/main/python/shapes/line.py
+++ b/src/main/python/shapes/line.py
@@ -425,7 +425,7 @@ class Line(QGraphicsPathItem):
arrowHead.append(line.p2())
arrowHead.append(arrow_p1)
arrowHead.append(arrow_p2)
- path.addPolygon(arrowHead)
+ # path.addPolygon(arrowHead)
painter.save()
painter.setBrush(Qt.black)
painter.drawPolygon(arrowHead)
@@ -985,9 +985,5 @@ class Line(QGraphicsPathItem):
"label": [i for i in self.label],
"id": hex(id(self))
}
-<<<<<<< HEAD
-=======
-
->>>>>>> bf0d0acaf8b488ae5a55536343401fc2a0b5f9de
def __setstate__(self, dict):
self.points = [QPointF(x, y) for x, y in dict["points"]]