From 49ffdcd5bccce06fa684ea3b9b590bf4a753c467 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sat, 14 Mar 2009 19:09:46 +0100 Subject: [PATCH] MidiPort: subscribe writable rather than readable port when settings When loading MidiPort settings, erroneously readable port was subscribed rather than writable port. This commit fixes the issue. (cherry picked from commit d981b3248067bbcd7d5c6e1c940080e00c1c22c0) --- src/core/midi/midi_port.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/midi/midi_port.cpp b/src/core/midi/midi_port.cpp index b882108b79..1b5874f20e 100644 --- a/src/core/midi/midi_port.cpp +++ b/src/core/midi/midi_port.cpp @@ -266,7 +266,7 @@ void midiPort::loadSettings( const QDomElement & _this ) { if( it.value() != ( wp.indexOf( it.key() ) != -1 ) ) { - subscribeReadablePort( it.key() ); + subscribeWritablePort( it.key() ); } } emit writablePortsChanged();