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:
parent
d79411cd41
commit
c9c5421e49
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user