use actual instrument name for sorting by instrument
This commit is contained in:
parent
0f12b32766
commit
ac140ff8a2
1 changed files with 1 additions and 4 deletions
|
@ -788,10 +788,7 @@ void CAudioMixerBoard::ChangeFaderOrder ( const bool bDoSort,
|
||||||
}
|
}
|
||||||
else // ST_BY_INSTRUMENT
|
else // ST_BY_INSTRUMENT
|
||||||
{
|
{
|
||||||
// note that the sorting will not be the same as we would use QPair<int, int>
|
PairList << QPair<QString, int> ( CInstPictures::GetName ( vecpChanFader[i]->GetReceivedInstrument() ), i );
|
||||||
// but this is not a problem since the order of the instrument IDs are arbitrary
|
|
||||||
// anyway
|
|
||||||
PairList << QPair<QString, int> ( QString::number ( vecpChanFader[i]->GetReceivedInstrument() ), i );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue