mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
CommandManager keys by CommandId, not plain wxString
This commit is contained in:
@@ -252,7 +252,7 @@ KeyView::GetIndexByName(const CommandID & name) const
|
||||
// Search the nodes for the key
|
||||
for (int i = 0; i < cnt; i++)
|
||||
{
|
||||
if (name.CmpNoCase(mNodes[i].name) == 0)
|
||||
if (name == mNodes[i].name)
|
||||
{
|
||||
return mNodes[i].index;
|
||||
}
|
||||
|
Reference in New Issue
Block a user