1
0
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:
Steve Daulton 2017-05-23 22:18:22 +01:00
parent 4b2b0d9b91
commit 0303d281cc

View File

@ -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();