// note that the old connection may still have locks after this
parent.getGuiGene(source.getChangingConnection()).removeLocks(source.getLocks());
addLocks(source.getLocks());
} else {
if (source instanceof GUIOutput) {
source.resetState();
}
}
source.setChangingConnection(node);
}