Skip to content

Commit

Permalink
Merge pull request #4967 from IvenBach/SettingsExportCorrection
Browse files Browse the repository at this point in the history
Makes settings export to the selected folder.
  • Loading branch information
retailcoder committed May 22, 2019
2 parents fe40b46 + e7c3953 commit bdef13f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -61,9 +61,9 @@ public override void Save(T toSerialize, string nonDefaultFilePath = null)
}
}

EnsurePathExists();
EnsurePathExists(filePath);

using (var xml = XmlWriter.Create(FilePath, OutputXmlSettings))
using (var xml = XmlWriter.Create(filePath, OutputXmlSettings))
{
doc.WriteTo(xml);
Cached = toSerialize;
Expand Down

0 comments on commit bdef13f

Please sign in to comment.