summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/GraphPortModule.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/GraphPortModule.cpp b/src/gui/GraphPortModule.cpp
index 9f403d6b..bc38bd55 100644
--- a/src/gui/GraphPortModule.cpp
+++ b/src/gui/GraphPortModule.cpp
@@ -73,7 +73,8 @@ GraphPortModule::create(GraphCanvas& canvas,
if (model->is_numeric() && model->is_input()) {
// Add non-mirrored input so control port can be controlled from canvas
- Port::create(canvas.app(), *ret, model, human, false);
+ Port* p = Port::create(canvas.app(), *ret, model, human, false);
+ p->set_can_head(false);
}
ret->set_port(port);