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;
}