Merge pull request #2641 from Fastigium/fxsends

Fix regression that caused faulty FX channel index numbers
This commit is contained in:
Tres Finocchiaro
2016-03-06 12:05:10 -05:00

View File

@@ -383,6 +383,10 @@ void FxMixer::moveChannelLeft( int index )
// Swap positions in array
qSwap(m_fxChannels[index], m_fxChannels[index - 1]);
// Update m_channelIndex of both channels
m_fxChannels[index]->m_channelIndex = index;
m_fxChannels[index - 1]->m_channelIndex = index -1;
}