Widget BP input events don't work with "Set Input Mode UI Only"

Try InputModeGameAndUI

it kinda makes sense, Q is a game input action, “OnKeyDown” is a UI input action.

Consider if it was ‘W’ usually thats move forward but in a menu it might be ‘move cursor up’ so you need that layer of separation