summaryrefslogtreecommitdiffstats
path: root/win/CS/Controls
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-12-20 20:59:33 +0000
committersr55 <[email protected]>2011-12-20 20:59:33 +0000
commitce0f63d8cb8bfacaf4fc139ac49eaf0775bb27e1 (patch)
tree53e3f8f5da22baa85d7efddff70baff1855bfaa8 /win/CS/Controls
parent4d0e5554c2e8d0a9fced4c1e3e1662aa677ff748 (diff)
WinGui: Fix an issue with the Output Settings preset name display. It was intermittently showing "Custom" for a selected preset.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4378 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/Controls')
-rw-r--r--win/CS/Controls/x264Panel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/Controls/x264Panel.cs b/win/CS/Controls/x264Panel.cs
index 732ee2d4f..aacb93983 100644
--- a/win/CS/Controls/x264Panel.cs
+++ b/win/CS/Controls/x264Panel.cs
@@ -150,7 +150,7 @@ namespace Handbrake.Controls
}
/* Change the option string to reflect the new standardized option string */
- if (changedOptString != string.Empty)
+ if (!string.IsNullOrEmpty(changedOptString) && !rtf_x264Query.Text.Equals(changedOptString))
rtf_x264Query.Text = changedOptString;
}