diff --git a/src/commands/CommandManager.cpp b/src/commands/CommandManager.cpp index a4a437f26..ae86a0742 100644 --- a/src/commands/CommandManager.cpp +++ b/src/commands/CommandManager.cpp @@ -509,6 +509,8 @@ void CommandManager::SetMaxList() mMaxListOnly.Add( "Alt+Shift+F6" ); mMaxListOnly.Add( "Alt+F6" ); + std::transform( mMaxListOnly.begin(), mMaxListOnly.end(), mMaxListOnly.begin(), + KeyStringNormalize ); mMaxListOnly.Sort(); } diff --git a/src/prefs/KeyConfigPrefs.cpp b/src/prefs/KeyConfigPrefs.cpp index ce9b0b281..e8826ccf4 100644 --- a/src/prefs/KeyConfigPrefs.cpp +++ b/src/prefs/KeyConfigPrefs.cpp @@ -454,6 +454,8 @@ void KeyConfigPrefs::FilterKeys( wxArrayString & arr ) MaxListOnly.Add( "Alt+Shift+F6" ); MaxListOnly.Add( "Alt+F6" ); + std::transform( MaxListOnly.begin(), MaxListOnly.end(), MaxListOnly.begin(), + KeyStringNormalize ); MaxListOnly.Sort(); // Remove items that are in MaxList. for (size_t i = 0; i < arr.GetCount(); i++) {