summaryrefslogtreecommitdiffstats
path: root/win/C#/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-01-06 16:33:57 +0000
committersr55 <[email protected]>2008-01-06 16:33:57 +0000
commitf1c3f6d98e030b178c848cc93220db10055ea91a (patch)
treed63ae0f4019115925092123bff65df017c2a0785 /win/C#/frmOptions.cs
parentb4194f6f8a974f8037fb65e9ed41ae31db8761c7 (diff)
WinGui:
- Fixed: for Auto-naming where it would incorrectly set directory when the user had no default set - Fixed: A few control's were not set to transparent so showed up incorrectly on themed windows machines. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1167 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmOptions.cs')
-rw-r--r--win/C#/frmOptions.cs13
1 files changed, 8 insertions, 5 deletions
diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs
index fe681bdc1..e8d0bc02b 100644
--- a/win/C#/frmOptions.cs
+++ b/win/C#/frmOptions.cs
@@ -55,10 +55,10 @@ namespace Handbrake
check_autoNaming.CheckState = CheckState.Checked;
}
- if (Properties.Settings.Default.autoNamePath != "")
- text_an_path.Text = Properties.Settings.Default.autoNamePath;
- else
- text_an_path.Text = "Click 'Browse' to set the default location";
+ text_an_path.Text = Properties.Settings.Default.autoNamePath;
+
+ if (text_an_path.Text == "")
+ text_an_path.Text = "Click 'Browse' to set the default location";
}
#region Options
@@ -122,7 +122,10 @@ namespace Handbrake
private void text_an_path_TextChanged(object sender, EventArgs e)
{
if (text_an_path.Text == "")
- Properties.Settings.Default.autoNamePath = null;
+ {
+ Properties.Settings.Default.autoNamePath = "";
+ text_an_path.Text = "Click 'Browse' to set the default location";
+ }
else
Properties.Settings.Default.autoNamePath = text_an_path.Text;
}