summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/NodeControlWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui/NodeControlWindow.cpp')
-rw-r--r--src/libs/gui/NodeControlWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/gui/NodeControlWindow.cpp b/src/libs/gui/NodeControlWindow.cpp
index 853a15bb..cfa22b10 100644
--- a/src/libs/gui/NodeControlWindow.cpp
+++ b/src/libs/gui/NodeControlWindow.cpp
@@ -114,7 +114,7 @@ NodeControlWindow::on_show()
{
for (PortModelList::const_iterator i = _node->ports().begin();
i != _node->ports().end(); ++i)
- if ((*i)->is_control() && (*i)->is_input())
+ if ((*i)->type().is_control() && (*i)->is_input())
App::instance().engine()->request_port_value((*i)->path());
if (_position_stored)