while -> if
This commit is contained in:
parent
4644b5cb16
commit
c40b254626
|
@ -369,8 +369,11 @@ bool EffectEqualization::ValidateUI()
|
|||
{
|
||||
// If editing a batch chain, we don't want to be using the unnamed curve so
|
||||
// we offer to save it.
|
||||
while (mDisallowCustom && mCurveName.IsSameAs(wxT("unnamed")))
|
||||
|
||||
if (mDisallowCustom && mCurveName.IsSameAs(wxT("unnamed")))
|
||||
{
|
||||
// PRL: This is unreachable. mDisallowCustom is always false.
|
||||
|
||||
Effect::MessageBox(_("To use this EQ curve in a batch chain, please choose a new name for it.\nChoose the 'Save/Manage Curves...' button and rename the 'unnamed' curve, then use that one."),
|
||||
wxOK | wxCENTRE,
|
||||
_("EQ Curve needs a different name"));
|
||||
|
|
Loading…
Reference in New Issue