1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-10 09:01:13 +02:00

Bug 1943 - Nyquist prompt loses data when Audacity is closed

This commit is contained in:
James Crook 2018-09-17 21:56:28 +01:00
parent 72f9fade8d
commit fd21a0f6fd

View File

@ -201,7 +201,7 @@ NyquistEffect::~NyquistEffect()
wxString NyquistEffect::GetPath() wxString NyquistEffect::GetPath()
{ {
if (mIsPrompt) if (mIsPrompt)
return (mType == EffectTypeTool) ? return (mPromptType == EffectTypeTool) ?
NYQUIST_TOOLS_PROMPT_ID : NYQUIST_TOOLS_PROMPT_ID :
NYQUIST_EFFECTS_PROMPT_ID; NYQUIST_EFFECTS_PROMPT_ID;
@ -211,7 +211,7 @@ wxString NyquistEffect::GetPath()
IdentInterfaceSymbol NyquistEffect::GetSymbol() IdentInterfaceSymbol NyquistEffect::GetSymbol()
{ {
if (mIsPrompt) if (mIsPrompt)
return (mType == EffectTypeTool) ? return (mPromptType == EffectTypeTool) ?
XO("Nyquist Prompt") : XO("Nyquist Prompt") :
XO("Nyquist Effects Prompt"); XO("Nyquist Effects Prompt");