X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/624231601a0f5daea9b8809993ad3503beafce4f..cfe8322b50c9ef08ffbc3e52b0849bca4cd1d0bf:/FunctionalInterface.cpp diff --git a/FunctionalInterface.cpp b/FunctionalInterface.cpp index 7224b3f..495d60e 100644 --- a/FunctionalInterface.cpp +++ b/FunctionalInterface.cpp @@ -76,10 +76,7 @@ AbstractInterface *FunctionalInterface::clone() { int id = getInterfaceMultiplicity(); if (id < 0) return NULL; FunctionalInterface *inter = new FunctionalInterface(owner, reference); - inter->setWidth(width); - inter->setDirection(direction); - inter->setPurpose(purpose); - inter->connectFrom(NULL); + inter->setWidth(width); inter->setName(reference->getName()+"_"+QString::number(id+1)); return inter; }