mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
CommandManager keys by CommandId, not plain wxString
This commit is contained in:
@@ -739,9 +739,9 @@ void MacrosWindow::AddItem(const CommandID &Action, const wxString &Params)
|
||||
auto friendlyName = entry != mCatalog.end()
|
||||
? entry->name.Translated()
|
||||
:
|
||||
// Expose an internal name to the user in default of any friendly name
|
||||
// -- AVOID THIS!
|
||||
Action;
|
||||
// uh oh, using GET to expose an internal name to the user!
|
||||
// in default of any better friendly name
|
||||
Action.GET();
|
||||
|
||||
int i = mList->GetItemCount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user