mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-13 07:07:46 +02:00
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
|
// If editing a batch chain, we don't want to be using the unnamed curve so
|
||||||
// we offer to save it.
|
// 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."),
|
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,
|
wxOK | wxCENTRE,
|
||||||
_("EQ Curve needs a different name"));
|
_("EQ Curve needs a different name"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user