summaryrefslogtreecommitdiffstats
path: root/src/progs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-01-08 17:56:50 +0000
committerDavid Robillard <d@drobilla.net>2007-01-08 17:56:50 +0000
commit641923335b88ddd8ca3df176f42810d8cea30685 (patch)
tree9a52bd2b40e2e58ec410617aa3e9e7c721bef3d5 /src/progs
parentfa8c25fd08953b6b14b22faa807a5446cec7294c (diff)
downloadingen-641923335b88ddd8ca3df176f42810d8cea30685.tar.gz
ingen-641923335b88ddd8ca3df176f42810d8cea30685.tar.bz2
ingen-641923335b88ddd8ca3df176f42810d8cea30685.zip
Alsa MIDI fixed.
git-svn-id: http://svn.drobilla.net/lad/ingen@244 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/ingenuity/NodeControlWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/ingenuity/NodeControlWindow.cpp b/src/progs/ingenuity/NodeControlWindow.cpp
index 00269c21..7ee62bc4 100644
--- a/src/progs/ingenuity/NodeControlWindow.cpp
+++ b/src/progs/ingenuity/NodeControlWindow.cpp
@@ -109,9 +109,9 @@ void
NodeControlWindow::on_show()
{
for (PortModelList::const_iterator i = m_node->ports().begin();
- i != m_node->ports().end(); ++i) {
- App::instance().engine()->request_port_value((*i)->path());
- }
+ i != m_node->ports().end(); ++i)
+ if ((*i)->is_control() && (*i)->is_input())
+ App::instance().engine()->request_port_value((*i)->path());
if (m_position_stored)