Fixes https://gitlab.com/kicad/code/kicad/-/issues/15447
Can be extended to other cyclical hotkey settings Fixes https://gitlab.com/kicad/code/kicad/-/issues/14756