Fix: saving a new created playlist could cause an exception

This commit is contained in:
lukeIam committed 2014-12-31 13:24:08 +01:00
1 parent 740fd33a18
commit f815dfb2fd
1 file changed
+1 -1
+1 -1
View File
@@ -43,7 +43,7 @@ namespace Vocaluxe.Lib.Playlist
public void Save()
{
if (File == "")
if (string.IsNullOrEmpty(File))
{
string filename = string.Empty;
// ReSharper disable LoopCanBeConvertedToQuery