Right use of GetUniqueFileName-method.
This commit is contained in:
1 parent
a6cb64d69c
commit
94ee6c0418
1 file changed
+1
-2
@@ -139,8 +139,7 @@ namespace VocaluxeLib.Profile
|
||||
if (filename == "")
|
||||
filename = "1";
|
||||
|
||||
FilePath = Path.Combine(CBase.Settings.GetDataPath(), CBase.Settings.GetFolderProfiles());
|
||||
FilePath = Path.Combine(FilePath, CHelper.GetUniqueFileName(FilePath, filename + ".xml", false));
|
||||
FilePath = CHelper.GetUniqueFileName(Path.Combine(CBase.Settings.GetDataPath(), CBase.Settings.GetFolderProfiles()), filename + ".xml");
|
||||
}
|
||||
|
||||
var xml = new CXmlSerializer();
|
||||
|
||||
Reference in new issue
Block a user