mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-05 22:56:38 -05:00
ControllerConnectionDialog: fix crash on autodetect when using raw MIDI client
This commit is contained in:
committed by
Tobias Doerffel
parent
370ff26c2b
commit
4ba4d8b4e0
@@ -427,7 +427,10 @@ void ControllerConnectionDialog::midiValueChanged()
|
||||
if( m_midiAutoDetect.value() )
|
||||
{
|
||||
m_midiController->useDetected();
|
||||
m_readablePorts->updateMenu();
|
||||
if( m_readablePorts )
|
||||
{
|
||||
m_readablePorts->updateMenu();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user