Xcos: link Port as well as Link
[scilab.git] / scilab / modules / xcos / src / java / org / scilab / modules / xcos / graph / model / XcosCell.java
index 39cd52d..179ba37 100644 (file)
@@ -291,6 +291,9 @@ public class XcosCell extends ScilabGraphUniqueObject {
                 } else {
                     controller.setObjectProperty(getUID(), getKind(), ObjectProperties.DESTINATION_PORT, uid);
                 }
+                if (uid != 0l) {
+                    controller.setObjectProperty(uid, Kind.PORT, ObjectProperties.CONNECTED_SIGNALS, getUID());
+                }
                 break;
             default:
                 break;