X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/cfe8322b50c9ef08ffbc3e52b0849bca4cd1d0bf..8e89ca269960b7bb43ccc054696dfc28e84d409a:/BoxItem.cpp diff --git a/BoxItem.cpp b/BoxItem.cpp index 92f89b8..568e946 100644 --- a/BoxItem.cpp +++ b/BoxItem.cpp @@ -624,7 +624,11 @@ void BoxItem::contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { 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); } }