mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 08:39:46 +02:00
Bug 1807 - NyquistPrompt Scripting command is not functiona
This commit is contained in:
parent
281af790b0
commit
0523e292a3
@ -420,16 +420,13 @@ bool NyquistEffect::GetAutomationParameters(CommandParameters & parms)
|
||||
|
||||
bool NyquistEffect::SetAutomationParameters(CommandParameters & parms)
|
||||
{
|
||||
if (mExternal)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (mIsPrompt)
|
||||
{
|
||||
parms.Read(KEY_Command, &mInputCmd, wxEmptyString);
|
||||
parms.Read(KEY_Version, &mVersion, mVersion);
|
||||
|
||||
SetCommand(mInputCmd);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -1645,7 +1642,9 @@ void NyquistEffect::SetCommand(const wxString &cmd)
|
||||
{
|
||||
mExternal = true;
|
||||
|
||||
ParseCommand(cmd);
|
||||
if (cmd.size()) {
|
||||
ParseCommand(cmd);
|
||||
}
|
||||
}
|
||||
|
||||
void NyquistEffect::Break()
|
||||
|
Loading…
x
Reference in New Issue
Block a user