Fixes #87 - Crash without songs.
This commit is contained in:
1 parent
43545ac47f
commit
4d72d43c0a
1 file changed
+3
@@ -217,6 +217,9 @@ namespace Vocaluxe.Base
|
||||
public static void UpdateRandomSongList()
|
||||
{
|
||||
_SongsForRandom.Clear();
|
||||
if (NumSongsVisible == 0)
|
||||
return;
|
||||
|
||||
//Calc avarage sing-count
|
||||
int totalCounts = 0;
|
||||
foreach (CSong song in VisibleSongs)
|
||||
|
||||
Reference in new issue
Block a user