summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeControlWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/NodeControlWindow.cpp')
-rw-r--r--src/gui/NodeControlWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/NodeControlWindow.cpp b/src/gui/NodeControlWindow.cpp
index 4fce6636..bef6f15a 100644
--- a/src/gui/NodeControlWindow.cpp
+++ b/src/gui/NodeControlWindow.cpp
@@ -111,7 +111,7 @@ NodeControlWindow::on_show()
{
for (NodeModel::Ports::const_iterator i = _node->ports().begin();
i != _node->ports().end(); ++i)
- if ((*i)->type().is_control() && (*i)->is_input())
+ if ((*i)->is_input() && App::instance().can_control(i->get()))
App::instance().engine()->request_property((*i)->path(),
App::instance().uris().ingen_value);