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.
This commit is contained in:
Tobias Doerffel
2009-03-14 19:09:46 +01:00
parent fdc065b8b8
commit d981b32480

View File

@@ -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();