mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-23 14:41:27 +01:00
AudacityProject::OnEffect wraps new function DoEffect
This commit is contained in:
@@ -120,7 +120,7 @@ private:
|
||||
};
|
||||
|
||||
template<typename OBJ>
|
||||
using audCommandPluginFunction = bool (OBJ::*)(const PluginID &, int);
|
||||
using audCommandPluginFunction = void (OBJ::*)(const PluginID &, int);
|
||||
|
||||
template<typename OBJ>
|
||||
class PluginFunctor final : public CommandFunctor
|
||||
|
||||
@@ -1560,7 +1560,7 @@ bool CommandManager::HandleTextualCommand(const wxString & Str, CommandFlag flag
|
||||
{
|
||||
if (em.GetEffectIdentifier(plug->GetID()).IsSameAs(Str))
|
||||
{
|
||||
return proj->OnEffect(plug->GetID(), AudacityProject::OnEffectFlags::kConfigured);
|
||||
return proj->DoEffect(plug->GetID(), AudacityProject::OnEffectFlags::kConfigured);
|
||||
}
|
||||
plug = pm.GetNextPlugin(PluginTypeEffect);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user