mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 00:59:43 +02:00
Bug1306: Kestroke shortcuts for sub-menu entries now work again...
... for instance, Align sub-menu of Tracks.
This commit is contained in:
parent
08c27ad226
commit
12a2d066ba
@ -884,8 +884,8 @@ CommandListEntry *CommandManager::NewIdentifier(const wxString & name,
|
||||
|
||||
// Key from preferences overridse the default key given
|
||||
gPrefs->SetPath(wxT("/NewKeys"));
|
||||
if (gPrefs->HasEntry(name)) {
|
||||
entry->key = KeyStringNormalize(gPrefs->Read(name, entry->key));
|
||||
if (gPrefs->HasEntry(entry->name)) {
|
||||
entry->key = KeyStringNormalize(gPrefs->Read(entry->name, entry->key));
|
||||
}
|
||||
gPrefs->SetPath(wxT("/"));
|
||||
|
||||
@ -911,7 +911,7 @@ CommandListEntry *CommandManager::NewIdentifier(const wxString & name,
|
||||
}
|
||||
}
|
||||
#endif
|
||||
mCommandNameHash[name] = entry;
|
||||
mCommandNameHash[entry->name] = entry;
|
||||
|
||||
if (entry->key != wxT("")) {
|
||||
mCommandKeyHash[entry->key] = entry;
|
||||
|
Loading…
x
Reference in New Issue
Block a user