1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-20 14:47:49 +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) { if (fName == NYQUIST_WORKER_ID) {
// Effect spawned from Nyquist Prompt // Effect spawned from Nyquist Prompt
mName = XO("Nyquist Worker");
return; return;
} }
@ -420,6 +421,7 @@ bool NyquistEffect::Init()
// reset each time we call the Nyquist Prompt. // reset each time we call the Nyquist Prompt.
if (mIsPrompt) { if (mIsPrompt) {
mType = EffectTypeProcess; mType = EffectTypeProcess;
mName = XO("Nyquist Prompt");
mDebugButton = true; // Debug button always enabled for Nyquist Prompt. mDebugButton = true; // Debug button always enabled for Nyquist Prompt.
} }