X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/56f7c4239666506c59af42885f0bf0141d21a614..14cd6d834ab531525a51c6a6992583b3e9143e02:/GroupScene.cpp diff --git a/GroupScene.cpp b/GroupScene.cpp index 778a0b0..2ceb21f 100644 --- a/GroupScene.cpp +++ b/GroupScene.cpp @@ -166,10 +166,11 @@ void GroupScene::removeSourceItem(SourceItem* item) { sourceItems.removeAll(item); } -void GroupScene::createConnectionItem(InterfaceItem *iface1, InterfaceItem *iface2) { +void GroupScene::createConnectionItem(InterfaceItem *iface1, InterfaceItem *iface2, bool visible) { ConnectionItem* conn = NULL; conn = new ConnectionItem(iface1,iface2, dispatcher, params); + conn->setVisible(visible); addItem(conn); addConnectionItem(conn); }