ControllerConnectionDialog: fix crash on autodetect when using raw MIDI client

This commit is contained in:
Jesse Dubay
2012-10-27 22:16:45 +02:00
committed by Tobias Doerffel
parent 370ff26c2b
commit 4ba4d8b4e0

View File

@@ -427,7 +427,10 @@ void ControllerConnectionDialog::midiValueChanged()
if( m_midiAutoDetect.value() )
{
m_midiController->useDetected();
m_readablePorts->updateMenu();
if( m_readablePorts )
{
m_readablePorts->updateMenu();
}
}
}