X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/3bcfe4df6fdde086eb1b59f7a0173358170174a1..8fb3c55ee009a11db5e1c08a4cfb286979412745:/GroupInterface.cpp diff --git a/GroupInterface.cpp b/GroupInterface.cpp index 5f292b6..b42e7a0 100644 --- a/GroupInterface.cpp +++ b/GroupInterface.cpp @@ -122,7 +122,7 @@ bool GroupInterface::canConnectFrom(AbstractInterface *iface) { if ((direction == Input) && (iface->getDirection() == Input) && (purpose == iface->getPurpose())) return true; if ((direction == InOut) && (iface->getDirection() == InOut) && (purpose == iface->getPurpose())) return true; } - else if ((getOwner()->isTopGroupBlock()) && (iface->getOwner()->isSourceBlock())) { + else if ((getOwner()->isTopGroupBlock()) && (iface->getOwner()->isStimuliBlock())) { if ((direction == Input) && (iface->getDirection() == Output) && (purpose == iface->getPurpose())) return true; }