X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/08289b4fcdfc9478089ba586c05d74222bb1b12c..d30c9cf675ad7141d1c8e31d2e72315267d45cf2:/ConnectionItem.cpp diff --git a/ConnectionItem.cpp b/ConnectionItem.cpp index dee71ba..b6d99a5 100644 --- a/ConnectionItem.cpp +++ b/ConnectionItem.cpp @@ -85,7 +85,7 @@ ConnectionItem::ConnectionItem(InterfaceItem* _iface1, setCursor(Qt::PointingHandCursor); setZValue(0); - setPathes(); + setPath(); } @@ -145,8 +145,9 @@ void ConnectionItem::addInterPoint(QPointF point) { } -void ConnectionItem::setPathes() { +void ConnectionItem::setPath() { + // signals to the scene that this connection is going to change of shape. prepareGeometryChange(); pointFrom = fromInterfaceItem->getEndPointInGroup();