1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-07 15:22:34 +02:00

Fix "Scriptables" commands, which broke at 02b6153...

... Problem was the loss of an override of PluginManager::GetID() for a more
specific pointer type.
This commit is contained in:
Paul Licameli 2021-07-16 23:02:40 -04:00 committed by Paul Licameli
parent 3ac95672c0
commit 4facbd939d
2 changed files with 6 additions and 0 deletions

View File

@ -1550,6 +1550,11 @@ ComponentInterface *PluginManager::GetInstance(const PluginID & ID)
}
}
PluginID PluginManager::GetID(ModuleInterface *module)
{
return ModuleManager::GetID(module);
}
PluginID PluginManager::GetID(ComponentInterface *command)
{
return wxString::Format(wxT("%s_%s_%s_%s_%s"),

View File

@ -236,6 +236,7 @@ public:
static PluginManager & Get();
static PluginID GetID(ModuleInterface *module);
static PluginID GetID(ComponentInterface *command);
static PluginID GetID(EffectDefinitionInterface *effect);