Fix: saving a new created playlist could cause an exception
This commit is contained in:
1 parent
740fd33a18
commit
f815dfb2fd
1 file changed
+1
-1
@@ -43,7 +43,7 @@ namespace Vocaluxe.Lib.Playlist
|
|||||||
|
|
||||||
public void Save()
|
public void Save()
|
||||||
{
|
{
|
||||||
if (File == "")
|
if (string.IsNullOrEmpty(File))
|
||||||
{
|
{
|
||||||
string filename = string.Empty;
|
string filename = string.Empty;
|
||||||
// ReSharper disable LoopCanBeConvertedToQuery
|
// ReSharper disable LoopCanBeConvertedToQuery
|
||||||
|
|||||||
Reference in new issue
Block a user