1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +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 Panagiotis Vasilopoulos
parent 9808b8d429
commit e9c575cbc1
No known key found for this signature in database
GPG Key ID: FD806FDB3B2C5270
2 changed files with 6 additions and 0 deletions

View File

@ -1547,6 +1547,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);