summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-06-26 23:50:24 +0000
committersr55 <[email protected]>2009-06-26 23:50:24 +0000
commitedc5c3c50bbaf09eb2511f217a1228d901d54b55 (patch)
tree49c05ce249b69fc4912c19162759a34051c483c5 /win/C#/frmOptions.cs
parent4ac9a883b86e9d83a15a23f32090a2339ac1606a (diff)
WinGui:
- Temporary Fix for Quality slider getting reset to 0 on title or encoder change. Changing encoders may still cause a problem. - Much smaller splash screen. (Just in case any popup errors decide to hide behind it on launch) - Toolstrip now uses "Professional" appearance mode. On most systems it'll stand out more. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2633 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs18
1 files changed, 16 insertions, 2 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index 7529291e2..3c0a81f89 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -119,7 +119,7 @@ namespace Handbrake
numeric_updateCheckDays.Value = Properties.Settings.Default.daysBetweenUpdateCheck;
// x264 step
- drop_x264step.SelectedItem = Properties.Settings.Default.x264cqstep;
+ drop_x264step.SelectedItem = Properties.Settings.Default.x264cqstep.ToString();
// Use Experimental dvdnav
if (Properties.Settings.Default.dvdnav)
@@ -291,7 +291,21 @@ namespace Handbrake
private void x264step_SelectedIndexChanged(object sender, EventArgs e)
{
- Properties.Settings.Default.x264cqstep = drop_x264step.Text;
+ switch (drop_x264step.SelectedIndex)
+ {
+ case 0:
+ Properties.Settings.Default.x264cqstep = 1.0;
+ break;
+ case 1:
+ Properties.Settings.Default.x264cqstep = 0.50;
+ break;
+ case 2:
+ Properties.Settings.Default.x264cqstep = 0.25;
+ break;
+ case 3:
+ Properties.Settings.Default.x264cqstep = 0.20;
+ break;
+ }
}
private void check_dvdnav_CheckedChanged(object sender, EventArgs e)