mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-02 14:17:07 +01:00
Move a static function and an enumeration out of MenuCommandHandler
This commit is contained in:
@@ -722,16 +722,16 @@ bool MacroCommands::ApplyEffectCommand(
|
||||
// and apply the effect...
|
||||
res = PluginActions::DoAudacityCommand(ID,
|
||||
Context,
|
||||
MenuCommandHandler::OnEffectFlags::kConfigured |
|
||||
MenuCommandHandler::OnEffectFlags::kSkipState |
|
||||
MenuCommandHandler::OnEffectFlags::kDontRepeatLast);
|
||||
PluginActions::kConfigured |
|
||||
PluginActions::kSkipState |
|
||||
PluginActions::kDontRepeatLast);
|
||||
else
|
||||
// and apply the effect...
|
||||
res = PluginActions::DoEffect(ID,
|
||||
Context,
|
||||
MenuCommandHandler::OnEffectFlags::kConfigured |
|
||||
MenuCommandHandler::OnEffectFlags::kSkipState |
|
||||
MenuCommandHandler::OnEffectFlags::kDontRepeatLast);
|
||||
PluginActions::kConfigured |
|
||||
PluginActions::kSkipState |
|
||||
PluginActions::kDontRepeatLast);
|
||||
}
|
||||
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user