X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/a13795fc34cd1e74f94695d35253c3d00abec9bc..4327c2b8817b627249d98d889835726217c81a4e:/GroupItem.cpp diff --git a/GroupItem.cpp b/GroupItem.cpp index f275f8e..283e6b4 100644 --- a/GroupItem.cpp +++ b/GroupItem.cpp @@ -814,7 +814,12 @@ void GroupItem::load(QDomElement groupElement) throw(Exception) { GroupInterface *groupIface = new GroupInterface(groupBlock,name,direction,purpose); groupBlock->addInterface(groupIface); - InterfaceItem *interfaceItem = new InterfaceItem(position,orientation,groupIface,this,params); + bool show = false; + if ((groupBlock->isTopGroupBlock()) && (purpose == AbstractInterface::Clock)) { + show = true; + } + + InterfaceItem *interfaceItem = new InterfaceItem(position,orientation,groupIface,this,params,show); interfaceItem->setId(id); addInterfaceItem(interfaceItem, false); @@ -823,7 +828,7 @@ void GroupItem::load(QDomElement groupElement) throw(Exception) { groupCtlIface->setAssociatedIface(groupIface); groupBlock->addInterface(groupCtlIface); } - cout << "interface add to " << groupBlock->getName().toStdString() << endl; + cout << "interface " << qPrintable(name) << " added to " << groupBlock->getName().toStdString() << endl; } }