X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/8d3e09e430e829b9d847847334cbfe37790baca3..5d4e709cb8d460b2efc083e6e7999f1c3a0eb602:/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); } }