Fixed sing-button in bg-popup.

This commit is contained in:
Florian Küpper committed 2014-08-24 20:22:38 +02:00
1 parent cd7bb322f9
commit abe8987748
2 files changed
+12 -2

No files matched your search

+12 -1
View File
@@ -60,7 +60,18 @@ namespace Vocaluxe.Base
}
}
public static bool CanSing { get { return _BGMusicFiles.Contains(_CurrentPlaylistElement) ? false : _SongPlayer.CanSing; } }
public static bool CanSing
{
get
{
if (_PlaysPreview)
return false;
else
if (_BGMusicFiles.Contains(_CurrentPlaylistElement))
return false;
else return true;
}
}
public static bool Disabled
{