- ConnectedInterface* conn = (ConnectedInterface*)iface;
- ConnectedInterface* groupIface = conn->getConnectionFromParentGroup();
- if (groupIface != NULL) {
+ //cout << qPrintable(iface->getName()) << " of " << qPrintable(iface->getOwner()->getName()) << " connected to " << endl;
+ ConnectedInterface* connFrom = ((ConnectedInterface*)iface)->getConnectedFrom();
+ //cout << qPrintable(connFrom->getName()) << " of " << qPrintable(connFrom->getOwner()->getName()) << endl;
+
+ if (connFrom->getOwner() == this) {