mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-20 17:41:13 +02:00
Avoid assertion violation on startup that began with commit a8de4d9
This commit is contained in:
@@ -672,7 +672,12 @@ void AddEffectMenuItemGroup(
|
|||||||
const PluginDescriptor *plug =
|
const PluginDescriptor *plug =
|
||||||
PluginManager::Get().GetPlugin(plugs[i]);
|
PluginManager::Get().GetPlugin(plugs[i]);
|
||||||
if( plug->GetPluginType() == PluginTypeEffect )
|
if( plug->GetPluginType() == PluginTypeEffect )
|
||||||
pTable->push_back( Command( names[i].MSGID(),
|
pTable->push_back( Command(
|
||||||
|
// Call Debug() not MSGID() so that any concatenated "..." is
|
||||||
|
// included in the identifier, preserving old behavior, and
|
||||||
|
// avoiding the collision of the "Silence" command and the
|
||||||
|
// "Silence..." generator
|
||||||
|
names[i].Debug(), // names[i].MSGID(),
|
||||||
names[i],
|
names[i],
|
||||||
FN(OnEffect),
|
FN(OnEffect),
|
||||||
flags[i],
|
flags[i],
|
||||||
|
Reference in New Issue
Block a user