From f2230055843525c3afb00b3b0f99026a193b25d4 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/common/menu/menu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/menu/menu.cpp b/src/common/menu/menu.cpp index 6191f1b6046..bf773214d1a 100644 --- a/src/common/menu/menu.cpp +++ b/src/common/menu/menu.cpp @@ -637,7 +637,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) {