mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-25 08:58:06 +02:00
Fix for bug 1650
Don't attempt to read plug-in file when spawned from Nyquist Prompt because there isn't one.
This commit is contained in:
parent
4b2b0d9b91
commit
0303d281cc
@ -147,8 +147,7 @@ NyquistEffect::NyquistEffect(const wxString &fName)
|
||||
mMaxLen = NYQ_MAX_LEN;
|
||||
|
||||
// Interactive Nyquist
|
||||
if (fName == NYQUIST_PROMPT_ID)
|
||||
{
|
||||
if (fName == NYQUIST_PROMPT_ID) {
|
||||
mName = XO("Nyquist Prompt");
|
||||
mType = EffectTypeProcess;
|
||||
mOK = true;
|
||||
@ -157,6 +156,11 @@ NyquistEffect::NyquistEffect(const wxString &fName)
|
||||
return;
|
||||
}
|
||||
|
||||
if (fName == NYQUIST_WORKER_ID) {
|
||||
// Effect spawned from Nyquist Prompt
|
||||
return;
|
||||
}
|
||||
|
||||
mFileName = fName;
|
||||
mName = mFileName.GetName();
|
||||
mFileModified = mFileName.GetModificationTime();
|
||||
|
Loading…
x
Reference in New Issue
Block a user