summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-04-27 15:41:45 +0000
committersr55 <[email protected]>2009-04-27 15:41:45 +0000
commit0d08a63314dbc793c4ffafbab2985ce13ad0617c (patch)
treee7671f96b83afcb8a291822d3b675d6530d6f56f /win/C#/frmOptions.cs
parent6b9c017e63f06e9a7b66062d0a8cb460a02ca6b6 (diff)
WinGui: dvdnav option added to preferences.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2356 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs14
1 files changed, 13 insertions, 1 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index f83133db6..34ccef623 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -104,6 +104,7 @@ namespace Handbrake
if (Properties.Settings.Default.drive_detection == "Checked")
btn_drive_detect.CheckState = CheckState.Checked;
+ // Enable / Disable Query editor tab
if (Properties.Settings.Default.QueryEditorTab == "Checked")
check_queryEditorTab.CheckState = CheckState.Checked;
@@ -111,7 +112,12 @@ namespace Handbrake
if (Properties.Settings.Default.MainWindowMinimize == "Checked")
check_mainMinimize.CheckState = CheckState.Checked;
+ // x264 step
drop_x264step.SelectedItem = Properties.Settings.Default.x264cqstep;
+
+ // Use Experimental dvdnav
+ if (Properties.Settings.Default.dvdnav == "Checked")
+ check_dvdnav.CheckState = CheckState.Checked;
}
#region General
@@ -251,12 +257,18 @@ namespace Handbrake
Properties.Settings.Default.x264cqstep = drop_x264step.Text;
}
+ private void check_dvdnav_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.dvdnav = check_dvdnav.CheckState.ToString();
+ }
#endregion
private void btn_close_Click(object sender, EventArgs e)
{
Properties.Settings.Default.Save(); // Small hack for Vista. Seems to work fine on XP without this
this.Close();
- }
+ }
+
+
}
} \ No newline at end of file