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.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index c68cf1d6b..9a2fc5a00 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -361,6 +361,13 @@ namespace HandBrakeWPF.ViewModels
if (this.SelectedPreset != null)
{
+ // Main Window Settings
+ this.CurrentTask.LargeFile = selectedPreset.Task.LargeFile;
+ this.CurrentTask.OptimizeMP4 = selectedPreset.Task.OptimizeMP4;
+ this.CurrentTask.IPod5GSupport = selectedPreset.Task.IPod5GSupport;
+ this.SelectedOutputFormat = selectedPreset.Task.OutputFormat;
+
+ // Tab Settings
this.PictureSettingsViewModel.SetPreset(this.SelectedPreset, this.CurrentTask);
this.VideoViewModel.SetPreset(this.SelectedPreset, this.CurrentTask);
this.FiltersViewModel.SetPreset(this.SelectedPreset, this.CurrentTask);