X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/624231601a0f5daea9b8809993ad3503beafce4f..8d3e09e430e829b9d847847334cbfe37790baca3:/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; }