summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
index 00d6652b6..aa447e2e2 100644
--- a/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/AddPresetViewModel.cs
@@ -155,13 +155,13 @@ namespace HandBrakeWPF.ViewModels
this.Preset.PictureSettingsMode = this.SelectedPictureSettingMode;
// Setting W, H, MW and MH
- if (SelectedPictureSettingMode == PresetPictureSettingsMode.None)
+ if (this.SelectedPictureSettingMode == PresetPictureSettingsMode.None)
{
this.Preset.Task.MaxHeight = null;
this.Preset.Task.MaxWidth = null;
}
- if (SelectedPictureSettingMode == PresetPictureSettingsMode.Custom)
+ if (this.SelectedPictureSettingMode == PresetPictureSettingsMode.Custom)
{
this.Preset.Task.MaxWidth = this.CustomWidth;
this.Preset.Task.MaxHeight = this.CustomHeight;
@@ -169,7 +169,7 @@ namespace HandBrakeWPF.ViewModels
this.Preset.Task.Height = null;
}
- if (SelectedPictureSettingMode == PresetPictureSettingsMode.SourceMaximum)
+ if (this.SelectedPictureSettingMode == PresetPictureSettingsMode.SourceMaximum)
{
this.Preset.Task.MaxWidth = this.Preset.Task.Width;
this.Preset.Task.MaxHeight = this.Preset.Task.Height;