diff --git a/src/effects/Equalization.cpp b/src/effects/Equalization.cpp index 732e0a3c7..b5e703baf 100644 --- a/src/effects/Equalization.cpp +++ b/src/effects/Equalization.cpp @@ -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"));