diff --git a/slsk-batchdl/M3uEditor.cs b/slsk-batchdl/M3uEditor.cs index 976b2ae..54db9e1 100644 --- a/slsk-batchdl/M3uEditor.cs +++ b/slsk-batchdl/M3uEditor.cs @@ -27,7 +27,7 @@ public class M3uEditor public void SetPathAndLoad(string path) { - if (Utils.NormalizedPath(this.path) == Utils.NormalizedPath(path)) + if (this.path != null && Utils.NormalizedPath(this.path) == Utils.NormalizedPath(path)) return; this.path = Path.GetFullPath(path);