]> AND Private Git Repository - blast.git/blobdiff - BoxItem.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
added generator-cst
[blast.git] / BoxItem.cpp
index 92f89b81995d25989a3d6d02be35ec90082f39d8..568e946458a69a7b9604901f114479be7d0780fd 100644 (file)
@@ -624,7 +624,11 @@ void BoxItem::contextMenuEvent(QGraphicsSceneContextMenuEvent * event) {
   else if(selectedAction == showWishboneIface) {
     dispatcher->showWishboneIface(this);
   }
   else if(selectedAction == showWishboneIface) {
     dispatcher->showWishboneIface(this);
   }
-  else if(selectedAction == showParameters){
+  else if(selectedAction == showParameters) {
+    if (refBlock->isFunctionalBlock()) {
+      FunctionalBlock* fun = AB_TO_FUN(refBlock);
+      fun->createDelta();
+    }
     new ParametersWindow(refBlock, params, NULL);
   }    
 }
     new ParametersWindow(refBlock, params, NULL);
   }    
 }