mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-26 01:18: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;
|
mMaxLen = NYQ_MAX_LEN;
|
||||||
|
|
||||||
// Interactive Nyquist
|
// Interactive Nyquist
|
||||||
if (fName == NYQUIST_PROMPT_ID)
|
if (fName == NYQUIST_PROMPT_ID) {
|
||||||
{
|
|
||||||
mName = XO("Nyquist Prompt");
|
mName = XO("Nyquist Prompt");
|
||||||
mType = EffectTypeProcess;
|
mType = EffectTypeProcess;
|
||||||
mOK = true;
|
mOK = true;
|
||||||
@ -157,6 +156,11 @@ NyquistEffect::NyquistEffect(const wxString &fName)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (fName == NYQUIST_WORKER_ID) {
|
||||||
|
// Effect spawned from Nyquist Prompt
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
mFileName = fName;
|
mFileName = fName;
|
||||||
mName = mFileName.GetName();
|
mName = mFileName.GetName();
|
||||||
mFileModified = mFileName.GetModificationTime();
|
mFileModified = mFileName.GetModificationTime();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user