Auto assign MIDI device when track is created (#7835)
Newly created MIDI tracks were not automatically assigned to the desired MIDI device when the option to do so was specified in settings. This commit fixes that.
This commit is contained in:
@@ -109,6 +109,8 @@ InstrumentTrack::InstrumentTrack(TrackContainer* tc) :
|
||||
connect(&m_pitchModel, SIGNAL(dataChanged()), this, SLOT(updatePitch()), Qt::DirectConnection);
|
||||
connect(&m_pitchRangeModel, SIGNAL(dataChanged()), this, SLOT(updatePitchRange()), Qt::DirectConnection);
|
||||
connect(&m_mixerChannelModel, SIGNAL(dataChanged()), this, SLOT(updateMixerChannel()), Qt::DirectConnection);
|
||||
|
||||
autoAssignMidiDevice(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user