diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2008-04-04 16:36:30 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2008-04-04 16:36:30 +0000 |
commit | c2b802c6e2e7f3c1af4e7784504c74375c75db50 (patch) | |
tree | f45eff8f9769de9db97dd249d32a2e578c11b5b5 /libs/ardour/midi_port.cc | |
parent | f960405614d4b345f45f7e02832d2fb98f3ab647 (diff) |
* bugfix: Connecting/disconnecting MIDI ports did not work: http://tracker.ardour.org/view.php?id=2141
git-svn-id: svn://localhost/ardour2/branches/3.0@3216 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_port.cc')
-rw-r--r-- | libs/ardour/midi_port.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/midi_port.cc b/libs/ardour/midi_port.cc index 7a045dc829..fc48218efa 100644 --- a/libs/ardour/midi_port.cc +++ b/libs/ardour/midi_port.cc @@ -37,12 +37,13 @@ MidiPort::MidiPort (const std::string& name, Flags flags, bool external, nframes /* external ports use the same buffer for the jack port (_ext_port) * and internal ports (this) */ _ext_port = new JackMidiPort (name, flags, _buffer); + Port::set_name (_ext_port->name()); } else { /* internal ports just have a single buffer, no jack port */ _ext_port = 0; + set_name (name); } - set_name (name); reset (); } |