diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/GraphCanvas.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp index e4e5c120..be1b9de8 100644 --- a/src/gui/GraphCanvas.cpp +++ b/src/gui/GraphCanvas.cpp @@ -536,7 +536,9 @@ destroy_node(GanvNode* node, void* data) app->interface()->del(node_module->block()->uri()); } else { GraphPortModule* port_module = dynamic_cast<GraphPortModule*>(module); - if (port_module) { + if (port_module && + strcmp(port_module->port()->path().symbol(), "control_in") && + strcmp(port_module->port()->path().symbol(), "control_out")) { app->interface()->del(port_module->port()->uri()); } } |