From 414d6a56cc67f2fa56353ee3ce80adaa8cfeb45f Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 1 Apr 2009 23:48:34 +0000 Subject: WinGui: - Just some minor code tweaks to clean things up. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2291 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/Controls/Detelecine.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'win/C#/Controls/Detelecine.cs') diff --git a/win/C#/Controls/Detelecine.cs b/win/C#/Controls/Detelecine.cs index 6eaf4621b..4c2e0b237 100644 --- a/win/C#/Controls/Detelecine.cs +++ b/win/C#/Controls/Detelecine.cs @@ -19,10 +19,7 @@ namespace Handbrake private void drop_detelecine_SelectedIndexChanged(object sender, EventArgs e) { - if (drop_detelecine.Text == "Custom") - text_custom.Visible = true; - else - text_custom.Visible = false; + text_custom.Visible = drop_detelecine.Text == "Custom"; } public string getDropValue -- cgit v1.2.3