1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 08:09:41 +02:00

Avoid assertion violation on startup that began with commit a8de4d9

This commit is contained in:
Paul Licameli 2019-12-12 21:24:21 -05:00
parent c2194e0dc6
commit fe604cf20b

View File

@ -672,7 +672,12 @@ void AddEffectMenuItemGroup(
const PluginDescriptor *plug =
PluginManager::Get().GetPlugin(plugs[i]);
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],
FN(OnEffect),
flags[i],