mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 17:10:55 +02:00
Remove stripping of / and & and space from align command ids ...
... this has been unnecessary since commit 9780c14
This commit is contained in:
parent
b32940d931
commit
2991928437
@ -961,14 +961,8 @@ CommandListEntry *CommandManager::NewIdentifier(const wxString & nameIn,
|
||||
// For key bindings for commands with a list, such as align,
|
||||
// the name in prefs is the category name plus the effect name.
|
||||
// This feature is not used for built-in effects.
|
||||
if (multi) {
|
||||
// The name needs to be clean for use by automation.
|
||||
wxString cleanedName = wxString::Format(wxT("%s_%s"), name, nameSuffix);
|
||||
cleanedName.Replace( "/", "" );
|
||||
cleanedName.Replace( "&", "" );
|
||||
cleanedName.Replace( " ", "" );
|
||||
name = cleanedName;
|
||||
}
|
||||
if (multi)
|
||||
name = wxString::Format(wxT("%s_%s"), name, nameSuffix);
|
||||
|
||||
// wxMac 2.5 and higher will do special things with the
|
||||
// Preferences, Exit (Quit), and About menu items,
|
||||
|
Loading…
x
Reference in New Issue
Block a user