X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/3bcfe4df6fdde086eb1b59f7a0173358170174a1..8fb3c55ee009a11db5e1c08a4cfb286979412745:/ConnectionItem.cpp diff --git a/ConnectionItem.cpp b/ConnectionItem.cpp index 86d0073..c3a7ada 100644 --- a/ConnectionItem.cpp +++ b/ConnectionItem.cpp @@ -73,11 +73,11 @@ ConnectionItem::ConnectionItem(InterfaceItem* _iface1, fromInterfaceItem = _iface1; } } - else if ((ref1->getOwner()->isSourceBlock()) && (ref2->getOwner()->isTopGroupBlock())) { + else if ((ref1->getOwner()->isStimuliBlock()) && (ref2->getOwner()->isTopGroupBlock())) { fromInterfaceItem = _iface1; toInterfaceItem = _iface2; } - else if ((ref2->getOwner()->isSourceBlock()) && (ref1->getOwner()->isTopGroupBlock())) { + else if ((ref2->getOwner()->isStimuliBlock()) && (ref1->getOwner()->isTopGroupBlock())) { fromInterfaceItem = _iface2; toInterfaceItem = _iface1; }