summaryrefslogtreecommitdiffstats
path: root/win/C#
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-07-04 19:11:55 +0000
committersr55 <[email protected]>2010-07-04 19:11:55 +0000
commit9280c300734cdfa2594b495f582cdb7e7e70ae6d (patch)
tree7be98f8e48407803d6fe7d91d7790eeabc8e7b13 /win/C#
parent78756c3e9622c6d6c09ce57ec65c3c84adcf86a7 (diff)
WinGui:
- Fix: Subq option was not updating the widget correctly on the Advanced panel git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3428 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#')
-rw-r--r--win/C#/Controls/x264Panel.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/C#/Controls/x264Panel.cs b/win/C#/Controls/x264Panel.cs
index 53d420ba6..8d223f6ab 100644
--- a/win/C#/Controls/x264Panel.cs
+++ b/win/C#/Controls/x264Panel.cs
@@ -237,7 +237,11 @@ namespace Handbrake.Controls
check_noDCTDecimate.CheckState = CheckState.Checked;
continue;
case "subq":
- drop_subpixelMotionEstimation.SelectedItem = optValue;
+ int subqValue;
+ if (int.TryParse(optValue, out subqValue))
+ {
+ drop_subpixelMotionEstimation.SelectedIndex = subqValue + 1;
+ }
continue;
case "trellis":
switch (optValue)