1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-22 23:30:07 +02:00

Bug 1641 - Follow up. NUMPAD_ENTER, Backspace, Delete

3 Keys that were already illegal now added back with a space before them.
This should fix these keys in 1641 too.
This commit is contained in:
James Crook 2017-05-07 11:17:18 +01:00
parent 6e65596b47
commit 6a33e8303a

View File

@ -999,10 +999,10 @@ wxString CommandManager::GetLabelWithDisabledAccel(const CommandListEntry *entry
if( entry->key.StartsWith("7")) break; if( entry->key.StartsWith("7")) break;
if( entry->key.StartsWith("8")) break; if( entry->key.StartsWith("8")) break;
if( entry->key.StartsWith("9")) break; if( entry->key.StartsWith("9")) break;
// No accelerator. // Uncomment the below so as not to add the illegal accelerators.
Accel = ""; // Accel = "";
//if( entry->key.StartsWith("Space" )) break; //if( entry->key.StartsWith("Space" )) break;
// These ones appear to be illegal and mess up accelerator processing. // These ones appear to be illegal already and mess up accelerator processing.
if( entry->key.StartsWith("NUMPAD_ENTER" )) break; if( entry->key.StartsWith("NUMPAD_ENTER" )) break;
if( entry->key.StartsWith("Backspace" )) break; if( entry->key.StartsWith("Backspace" )) break;
if( entry->key.StartsWith("Delete" )) break; if( entry->key.StartsWith("Delete" )) break;