From 028ce8e636c261965935fe25b24371fc721eb2e8 Mon Sep 17 00:00:00 2001 From: Gutawer Date: Wed, 25 Nov 2020 01:23:57 +0000 Subject: [PATCH] - fix keyboard repeat events not being sent to menus if TranslateKeyboardEvents is true --- src/menu/menu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/menu/menu.cpp b/src/menu/menu.cpp index e517d77e9..c0878387a 100644 --- a/src/menu/menu.cpp +++ b/src/menu/menu.cpp @@ -607,7 +607,8 @@ bool M_Responder (event_t *ev) { // We do our own key repeat handling but still want to eat the // OS's repeated keys. - return true; + if (CurrentMenu->TranslateKeyboardEvents()) return true; + else return CurrentMenu->CallResponder(ev); } else if (ev->subtype == EV_GUI_BackButtonDown || ev->subtype == EV_GUI_BackButtonUp) {