summaryrefslogtreecommitdiffstats
path: root/src/libs/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-05-19 20:11:01 +0000
committerDavid Robillard <d@drobilla.net>2008-05-19 20:11:01 +0000
commitee173c38c5c0a385c46bec12e3f52c57e0e074a0 (patch)
treedc4a24eab2bee45108f1a8b8aefa6f1d46a04757 /src/libs/gui
parent288f2590a9db08dbce1f3352a76b0f0adb4bdd85 (diff)
downloadingen-ee173c38c5c0a385c46bec12e3f52c57e0e074a0.tar.gz
ingen-ee173c38c5c0a385c46bec12e3f52c57e0e074a0.tar.bz2
ingen-ee173c38c5c0a385c46bec12e3f52c57e0e074a0.zip
Fix multiple ports showing up when attempting to add a MIDI output to a patch.
git-svn-id: http://svn.drobilla.net/lad/ingen@1215 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-rw-r--r--src/libs/gui/PatchCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/gui/PatchCanvas.cpp b/src/libs/gui/PatchCanvas.cpp
index eeb3daa8..4960d5d4 100644
--- a/src/libs/gui/PatchCanvas.cpp
+++ b/src/libs/gui/PatchCanvas.cpp
@@ -102,7 +102,7 @@ PatchCanvas::PatchCanvas(SharedPtr<PatchModel> patch, int width, int height)
_menu_add_event_input->signal_activate().connect(
sigc::bind(sigc::mem_fun(this, &PatchCanvas::menu_add_port),
"event_input", "ingen:EventPort", false));
- _menu_add_midi_output->signal_activate().connect(
+ _menu_add_event_output->signal_activate().connect(
sigc::bind(sigc::mem_fun(this, &PatchCanvas::menu_add_port),
"event_output", "ingen:EventPort", true));