]> Creatis software - cpPlugins.git/blobdiff - lib/cpBaseQtApplication/Connection.cxx
...
[cpPlugins.git] / lib / cpBaseQtApplication / Connection.cxx
index 81ac61d58de55d405e60a88bbf362564ac6dca6a..4f48b3b4651877af2e06174ef1dcccedd0ae384d 100644 (file)
@@ -63,12 +63,8 @@ setPort2( InputPort* p )
 {\r
   if( p != NULL )\r
   {\r
-    if( p->connection( ) == NULL )\r
-    {\r
-      p->setConnection( this );\r
-      this->m_Port2 = p;\r
-\r
-    } // fi\r
+    p->setConnection( this );\r
+    this->m_Port2 = p;\r
 \r
   } // fi\r
 }\r