diff options
author | David Robillard <d@drobilla.net> | 2008-05-19 20:11:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-05-19 20:11:01 +0000 |
commit | ee173c38c5c0a385c46bec12e3f52c57e0e074a0 (patch) | |
tree | dc4a24eab2bee45108f1a8b8aefa6f1d46a04757 /src/libs | |
parent | 288f2590a9db08dbce1f3352a76b0f0adb4bdd85 (diff) | |
download | ingen-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')
-rw-r--r-- | src/libs/gui/PatchCanvas.cpp | 2 |
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)); |