Merge pull request #2641 from Fastigium/fxsends
Fix regression that caused faulty FX channel index numbers
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user