summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-09-10 11:16:21 +0000
committersr55 <[email protected]>2008-09-10 11:16:21 +0000
commitb9fb350aea3bb37349f24d6b33341b2644407588 (patch)
treec1010eb31a028d99ff1976af7b05c8c4d9b9236c /win/C#/frmOptions.cs
parente57d4d0bf36c3b5d4691134d0fdb8171cb25f843 (diff)
WinGui:
- New option to allow the user to enter which format they wish the autoName function to use. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1686 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index 2a7695fab..a94b2c752 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -57,6 +57,8 @@ namespace Handbrake
if (Properties.Settings.Default.autoNaming == "Checked")
check_autoNaming.CheckState = CheckState.Checked;
+ txt_autoNameFormat.Text = Properties.Settings.Default.autoNameFormat;
+
if (Properties.Settings.Default.drive_detection == "Checked")
btn_drive_detect.CheckState = CheckState.Checked;
@@ -121,6 +123,11 @@ namespace Handbrake
Properties.Settings.Default.autoNaming = check_autoNaming.CheckState.ToString();
}
+ private void txt_autoNameFormat_TextChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.autoNameFormat = txt_autoNameFormat.Text;
+ }
+
private void btn_browse_Click(object sender, EventArgs e)
{
pathFinder.ShowDialog();