mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-30 15:18:42 +02:00
Fix misleading error message
We are testing specifically for a selection in an 'audio' track.
This commit is contained in:
parent
ac1017ee1d
commit
f296f42392
@ -786,7 +786,7 @@ bool NyquistEffect::Process()
|
|||||||
|
|
||||||
// Nyquist Prompt does not require a selection, but effects do.
|
// Nyquist Prompt does not require a selection, but effects do.
|
||||||
if (!bOnePassTool && (mNumSelectedChannels == 0)) {
|
if (!bOnePassTool && (mNumSelectedChannels == 0)) {
|
||||||
wxString message = _("Cannot run command without a selection.");
|
wxString message = _("Audio selection required.");
|
||||||
Effect::MessageBox(message, wxOK | wxCENTRE | wxICON_EXCLAMATION, _("Nyquist Error"));
|
Effect::MessageBox(message, wxOK | wxCENTRE | wxICON_EXCLAMATION, _("Nyquist Error"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user