From ce0f63d8cb8bfacaf4fc139ac49eaf0775bb27e1 Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 20 Dec 2011 20:59:33 +0000 Subject: 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 --- win/CS/Controls/x264Panel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win') 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; } -- cgit v1.2.3