summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/Port.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui/Port.cpp')
-rw-r--r--src/libs/gui/Port.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/gui/Port.cpp b/src/libs/gui/Port.cpp
index ccd9652c..e3dd0fd4 100644
--- a/src/libs/gui/Port.cpp
+++ b/src/libs/gui/Port.cpp
@@ -51,7 +51,7 @@ Port::Port(boost::shared_ptr<FlowCanvas::Module> module, SharedPtr<PortModel> pm
_port_model->signal_renamed.connect(sigc::mem_fun(this, &Port::renamed));
- if (pm->is_control()) {
+ if (pm->type().is_control()) {
show_control();
float min = 0.0f, max = 1.0f;