--- a/Graphics/AssociationItem.py Fri Oct 18 23:00:41 2013 +0200 +++ b/Graphics/AssociationItem.py Fri Nov 01 15:48:48 2013 +0100 @@ -69,7 +69,7 @@ arrowFilled = False E5ArrowItem.__init__(self, QPointF(0, 0), QPointF(100, 100), - arrowFilled, arrowType, parent) + arrowFilled, arrowType, parent) self.setFlag(QGraphicsItem.ItemIsMovable, False) self.setFlag(QGraphicsItem.ItemIsSelectable, False) @@ -130,7 +130,7 @@ rectB.y() + rectB.height()) else: startP = QPointF(rectA.x() + rectA.width() / 2.0, - rectA.y() + rectA.height()) + rectA.y() + rectA.height()) endP = QPointF(rectB.x() + rectB.width() / 2.0, rectB.y()) self.setPoints(startP.x(), startP.y(), endP.x(), endP.y())