X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/1b7818e18ed7bcf3464e307b97c6e0e6d72cc69b..8fb3c55ee009a11db5e1c08a4cfb286979412745:/GroupInterface.cpp?ds=inline 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; }