Skip to content

Commit

Permalink
WinGui: Fix an issue with the Output Settings preset name display. It…
Browse files Browse the repository at this point in the history
… was intermittently showing "Custom" for a selected preset.

git-svn-id: svn://localhost/HandBrake/trunk@4378 b64f7644-9d1e-0410-96f1-a4d463321fa5
  • Loading branch information
sr55 committed Dec 20, 2011
1 parent 31f3c7e commit 4031abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win/CS/Controls/x264Panel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void StandardizeOptString()
}

/* 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;
}

Expand Down

0 comments on commit 4031abe

Please sign in to comment.