mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-20 14:20:06 +02:00
Ensure Nyquist Prompt initialises mName
This commit is contained in:
parent
11f9a8bb00
commit
cbe554e10a
@ -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.
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user