From 0a7006db43ba07aea1535166dd2eab7b3dee8bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Sat, 9 Aug 2014 22:01:01 +0200 Subject: [PATCH] Small bugfix. --- VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs b/VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs index 06dbdda1..d1221877 100644 --- a/VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs +++ b/VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs @@ -115,7 +115,10 @@ namespace VocaluxeLib.Menu.SongMenu _PlaySong(value); } else if (value >= CBase.Songs.GetNumCategories()) + { value = -1; + CBase.PreviewPlayer.Stop(); + } _PreviewNrInternal = value; }