summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-07-25 11:39:29 +0000
committersr55 <[email protected]>2012-07-25 11:39:29 +0000
commit27900123ecd9bf89122320f3be6c9d7c3c8c5715 (patch)
treeefadc6113587442643ec4e07c004fea15e41383c /win/CS
parent3dae8c654d3f5df2127eb75a9a0231aa1af78386 (diff)
WinGui: Couple more Picture Settings Tab bug fixes. Note: Still a few more issues to work out here.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4877 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
index e911905d2..ace0c8201 100644
--- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
@@ -727,6 +727,11 @@ namespace HandBrakeWPF.ViewModels
this.Width = title.Resolution.Width;
this.Height = title.Resolution.Height;
this.MaintainAspectRatio = true;
+
+ if (this.SelectedAnamorphicMode == Anamorphic.Custom)
+ {
+ AnamorphicAdjust(); // Refresh the values
+ }
}
this.NotifyOfPropertyChange(() => this.Task);
@@ -794,10 +799,10 @@ namespace HandBrakeWPF.ViewModels
this.WidthControlEnabled = true;
this.HeightControlEnabled = true;
this.ShowCustomAnamorphicControls = true;
+ this.MaintainAspectRatio = true;
this.ShowModulus = true;
this.Width = this.sourceResolution.Width;
- this.Height = 0;
this.NotifyOfPropertyChange(() => this.Width);
this.NotifyOfPropertyChange(() => this.Height);