honor GetDisplayed in UpdatePreferredSort

This commit is contained in:
Glenn Maynard
2007-05-07 19:51:50 +00:00
parent 081018eedf
commit aeb8fed361
+1 -1
View File
@@ -1328,7 +1328,7 @@ void SongManager::UpdatePreferredSort()
Song *pSong = NULL;
if( !sLine.empty() )
pSong = FindSong( sLine );
if( pSong )
if( pSong && pSong->GetDisplayed() )
vpSongs.push_back( pSong );
}
}