can someone look for a workaround for this please?
This commit is contained in:
+10
-2
@@ -1405,8 +1405,12 @@ RString MusicWheel::JumpToNextGroup()
|
|||||||
|
|
||||||
for(unsigned i = 0 ; i < iNumGroups ; i++)
|
for(unsigned i = 0 ; i < iNumGroups ; i++)
|
||||||
{
|
{
|
||||||
if( m_sExpandedSectionName == SONGMAN->GetSongGroupByIndex(i) )
|
RString sCurSongGroup = SONGMAN->GetSongGroupByIndex(i);
|
||||||
|
|
||||||
|
if( m_sExpandedSectionName == sCurSongGroup )
|
||||||
{
|
{
|
||||||
|
if( SONGMAN->GetSongsOfCurrentGame(sCurSongGroup).size() == 0 ) continue;
|
||||||
|
|
||||||
if ( i < iNumGroups - 1 )
|
if ( i < iNumGroups - 1 )
|
||||||
return SONGMAN->GetSongGroupByIndex(i+1);
|
return SONGMAN->GetSongGroupByIndex(i+1);
|
||||||
else
|
else
|
||||||
@@ -1451,8 +1455,12 @@ RString MusicWheel::JumpToPrevGroup()
|
|||||||
|
|
||||||
for(unsigned i = 0 ; i < iNumGroups ; i++)
|
for(unsigned i = 0 ; i < iNumGroups ; i++)
|
||||||
{
|
{
|
||||||
if( m_sExpandedSectionName == SONGMAN->GetSongGroupByIndex(i) )
|
RString sCurSongGroup = SONGMAN->GetSongGroupByIndex(i);
|
||||||
|
|
||||||
|
if( m_sExpandedSectionName == sCurSongGroup )
|
||||||
{
|
{
|
||||||
|
if( SONGMAN->GetSongsOfCurrentGame(sCurSongGroup).size() == 0 ) continue;
|
||||||
|
|
||||||
if ( i > 0 )
|
if ( i > 0 )
|
||||||
return SONGMAN->GetSongGroupByIndex(i-1);
|
return SONGMAN->GetSongGroupByIndex(i-1);
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user