summaryrefslogtreecommitdiffstats
path: root/win/C#/Controls/Detelecine.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Controls/Detelecine.cs')
-rw-r--r--win/C#/Controls/Detelecine.cs5
1 files changed, 1 insertions, 4 deletions
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