fixed not working button in song screen

This commit is contained in:
Florian Küpper committed 2017-08-31 21:25:42 +02:00
1 parent b8ad13e682
commit 21d7d3de60
1 file changed
+4 -1
+4 -1
View File
@@ -362,7 +362,10 @@ namespace Vocaluxe.Screens
{
if (CSongs.IsInCategory)
_SongMenu.SetSelectedSong(CSongs.GetRandomSong());
else
}
else if (_Buttons[_ButtonOptionsRandomCategory].Selected)
{
if (!CSongs.IsInCategory)
_SongMenu.SetSelectedCategory(CSongs.GetRandomCategory());
}
else if (_Buttons[_ButtonOptionsSingAll].Selected)