summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index 60b0c74a5..4f4fbaf2d 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -1827,10 +1827,10 @@ namespace HandBrakeWPF.ViewModels
{
SaveFileDialog savefiledialog = new SaveFileDialog
{
- Filter = "plist|*.plist",
+ Filter = "json|*.json",
CheckPathExists = true,
AddExtension = true,
- DefaultExt = ".plist",
+ DefaultExt = ".json",
OverwritePrompt = true,
FilterIndex = 0
};
@@ -1841,10 +1841,7 @@ namespace HandBrakeWPF.ViewModels
if (!string.IsNullOrEmpty(filename))
{
- PlistFactory.Export(
- savefiledialog.FileName,
- this.selectedPreset,
- HandBrakeUtils.Build.ToString(CultureInfo.InvariantCulture));
+ this.presetService.Export(savefiledialog.FileName, this.selectedPreset, HBConfigurationFactory.Create());
}
}
else