mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-25 14:07:13 +02:00
Fix crash bug (regression) in Automation
Somewhere along the line, GetEffectIdentifier got changed to GetEffectByIdentifier, leading to abuse of an iterator when attempting to invoke an effect by name.
This commit is contained in:
parent
beab669f42
commit
7e691ddf38
@ -1341,7 +1341,7 @@ bool CommandManager::HandleTextualCommand(wxString & Str, CommandFlag flags, Com
|
||||
const PluginDescriptor *plug = pm.GetFirstPlugin(PluginTypeEffect);
|
||||
while (plug)
|
||||
{
|
||||
if (em.GetEffectByIdentifier(plug->GetID()).IsSameAs(Str))
|
||||
if (em.GetEffectIdentifier(plug->GetID()).IsSameAs(Str))
|
||||
{
|
||||
return proj->OnEffect(plug->GetID(), AudacityProject::OnEffectFlags::kConfigured);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user