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:
Andrew Wiltshire
2025-04-13 04:42:15 +01:00
committed by GitHub
parent 3f0044dc7f
commit c2912b89ee

View File

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