summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-28 01:26:54 +0000
committerDavid Robillard <d@drobilla.net>2008-11-28 01:26:54 +0000
commit0bf73b59335d917400c18ae9d664226c1a4da4c2 (patch)
tree5403e1c54de2e1e9e8e4aaedd1a69d674f8c4963 /src/gui
parent6bf8ac34199f1c3e8d57a43bf1ed7025ce0cc3f9 (diff)
downloadingen-0bf73b59335d917400c18ae9d664226c1a4da4c2.tar.gz
ingen-0bf73b59335d917400c18ae9d664226c1a4da4c2.tar.bz2
ingen-0bf73b59335d917400c18ae9d664226c1a4da4c2.zip
MIDI learn for note trigger node.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1812 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/NodeMenu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/NodeMenu.cpp b/src/gui/NodeMenu.cpp
index accf8ef1..e4273330 100644
--- a/src/gui/NodeMenu.cpp
+++ b/src/gui/NodeMenu.cpp
@@ -90,7 +90,8 @@ NodeMenu::init(SharedPtr<NodeModel> node)
else
_randomize_menuitem->hide();
- if (plugin->uri() == "http://drobilla.net/ns/ingen#control_node")
+ if (plugin->uri() == "http://drobilla.net/ns/ingen#control_node"
+ || plugin->uri() == "http://drobilla.net/ns/ingen#trigger_node")
_learn_menuitem->show();
else
_learn_menuitem->hide();