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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user