См. определение в файле KeybindingsGroup.c строка 149
Перекрестные ссылки m_CurrentSettingAlternateKeyIndex, m_CurrentSettingKeyIndex и m_Menu.