1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 00:19:27 +02:00

Properly hide non-Full keyboard defaults containing Command+ on Mac

This commit is contained in:
Paul Licameli 2018-02-08 17:19:18 -05:00
parent d79411cd41
commit c9c5421e49
2 changed files with 4 additions and 0 deletions

View File

@ -509,6 +509,8 @@ void CommandManager::SetMaxList()
mMaxListOnly.Add( "Alt+Shift+F6" ); mMaxListOnly.Add( "Alt+Shift+F6" );
mMaxListOnly.Add( "Alt+F6" ); mMaxListOnly.Add( "Alt+F6" );
std::transform( mMaxListOnly.begin(), mMaxListOnly.end(), mMaxListOnly.begin(),
KeyStringNormalize );
mMaxListOnly.Sort(); mMaxListOnly.Sort();
} }

View File

@ -454,6 +454,8 @@ void KeyConfigPrefs::FilterKeys( wxArrayString & arr )
MaxListOnly.Add( "Alt+Shift+F6" ); MaxListOnly.Add( "Alt+Shift+F6" );
MaxListOnly.Add( "Alt+F6" ); MaxListOnly.Add( "Alt+F6" );
std::transform( MaxListOnly.begin(), MaxListOnly.end(), MaxListOnly.begin(),
KeyStringNormalize );
MaxListOnly.Sort(); MaxListOnly.Sort();
// Remove items that are in MaxList. // Remove items that are in MaxList.
for (size_t i = 0; i < arr.GetCount(); i++) { for (size_t i = 0; i < arr.GetCount(); i++) {