do not crash when opening controller connection dialog and using a non-sequenced (raw) MIDI-client

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1705 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-09-24 09:08:53 +00:00
parent b83b56fdf5
commit b75c3239f4
2 changed files with 19 additions and 1 deletions

View File

@@ -1,3 +1,18 @@
2008-09-24 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* src/core/sample_buffer.cpp:
* src/core/sample_record_handle.cpp:
* src/tracks/sample_track.cpp:
* plugins/bit_invader/bit_invader.cpp:
fixed compiler warnings
* src/gui/controller_connection_dialog.cpp:
do not crash when opening controller connection dialog and using a
non-sequenced (raw) MIDI-client
* data/presets/TripleOscillator/SawLead.xpf:
fixed preset name
2008-09-23 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* CMakeLists.txt:

View File

@@ -361,7 +361,10 @@ void controllerConnectionDialog::midiToggled( void )
&m_midiController->m_midiPort.m_inputChannelModel );
m_midiControllerSpinBox->setModel(
&m_midiController->m_midiPort.m_inputControllerModel );
m_readablePorts->setModel( &m_midiController->m_midiPort );
if( m_readablePorts )
{
m_readablePorts->setModel( &m_midiController->m_midiPort );
}
connect( m_midiController, SIGNAL( valueChanged() ),