1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Fix Bug 523: Names in prefs rather than numbers, so should be immune to renumbering bug. Fix Bug 517: Properly enable feature for Linux and Mac (changes were intended to be windows only, but some slipped through).

This commit is contained in:
james.k.crook@gmail.com 2012-06-18 13:19:57 +00:00
parent b92e587bb4
commit 4656913708

View File

@ -666,7 +666,8 @@ int CommandManager::NewIdentifier(wxString name, wxString label, wxMenu *menu,
tmpEntry->defaultKey = tmpEntry->key;
if( multi )
name= name + wxString::Format(wxT("%d"),index );
name= wxString::Format( wxT("%s:%s"), name.c_str(), label.c_str() );
// + ":" + label;//wxString::Format(wxT("%d"),index );
tmpEntry->name = name;
tmpEntry->label = label;