Fixes #87 - Crash without songs.

This commit is contained in:
Florian Küpper committed 2013-12-26 13:02:01 +01:00
1 parent 5449d985ef
commit 2f01f4db15
1 file changed
+3
+3
View File
@@ -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)