1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-20 06:10:06 +02:00

Ensure Nyquist Prompt initialises mName

This commit is contained in:
Steve Daulton 2017-07-02 12:32:41 +01:00
parent 11f9a8bb00
commit cbe554e10a

View File

@ -159,6 +159,7 @@ NyquistEffect::NyquistEffect(const wxString &fName)
if (fName == NYQUIST_WORKER_ID) {
// Effect spawned from Nyquist Prompt
mName = XO("Nyquist Worker");
return;
}
@ -420,6 +421,7 @@ bool NyquistEffect::Init()
// reset each time we call the Nyquist Prompt.
if (mIsPrompt) {
mType = EffectTypeProcess;
mName = XO("Nyquist Prompt");
mDebugButton = true; // Debug button always enabled for Nyquist Prompt.
}