1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-11 08:56:03 +01:00

Move DoEffect out of PluginMenus

This commit is contained in:
Paul Licameli
2019-06-12 23:03:13 -04:00
parent 691eee681c
commit ff2cf496cd
10 changed files with 151 additions and 152 deletions

View File

@@ -785,7 +785,7 @@ bool MacroCommands::ApplyEffectCommand(
EffectManager::kDontRepeatLast);
else
// and apply the effect...
res = PluginActions::DoEffect(ID,
res = EffectManager::DoEffect(ID,
Context,
EffectManager::kConfigured |
EffectManager::kSkipState |
@@ -820,7 +820,7 @@ bool MacroCommands::HandleTextualCommand( CommandManager &commandManager,
{
if (em.GetCommandIdentifier(plug->GetID()) == Str)
{
return PluginActions::DoEffect(
return EffectManager::DoEffect(
plug->GetID(), context,
EffectManager::kConfigured);
}