summaryrefslogtreecommitdiffstats
path: root/win/C#/Controls/Decomb.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/Controls/Decomb.cs')
-rw-r--r--win/C#/Controls/Decomb.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/win/C#/Controls/Decomb.cs b/win/C#/Controls/Decomb.cs
index 6762bfb8b..35c613ae4 100644
--- a/win/C#/Controls/Decomb.cs
+++ b/win/C#/Controls/Decomb.cs
@@ -19,10 +19,7 @@ namespace Handbrake
private void drop_decomb_SelectedIndexChanged(object sender, EventArgs e)
{
- if (drop_decomb.Text == "Custom")
- text_custom.Visible = true;
- else
- text_custom.Visible = false;
+ text_custom.Visible = drop_decomb.Text == "Custom";
valueChanged(null);
}