1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-10 17:11:17 +02:00

Actually check in the change to fix Bug 517 (intended in r11795). Added comment for code fixing Bug 523.

This commit is contained in:
james.k.crook@gmail.com 2012-06-19 13:16:22 +00:00
parent c498a2e2d6
commit bd670df287
2 changed files with 2 additions and 6 deletions

View File

@ -665,9 +665,10 @@ int CommandManager::NewIdentifier(wxString name, wxString label, wxMenu *menu,
#endif
tmpEntry->defaultKey = tmpEntry->key;
// For key bindings for commands with a list, such as effects,
// the name in prefs is the category name plus the effect name.
if( multi )
name= wxString::Format( wxT("%s:%s"), name.c_str(), label.c_str() );
// + ":" + label;//wxString::Format(wxT("%d"),index );
tmpEntry->name = name;
tmpEntry->label = label;

View File

@ -222,12 +222,7 @@ void KeyConfigPrefs::RepopulateBindingsList()
Labels,
Categories,
// True to include effects (list items), false otherwise.
// Hotkeys for effects not yet supported on Linux/Mac.
#ifdef __WXMSW__
true
#else
false
#endif
);
bool save = (mKeys.GetCount() == 0);