From 39430cc9376e1de7ad4a9ab6a66b9986760c159f Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 31 Jul 2020 17:28:06 +0200 Subject: [PATCH] It was impossible to get back from MixOne screen --- radio/src/thirdparty/libopenui/src/form.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radio/src/thirdparty/libopenui/src/form.cpp b/radio/src/thirdparty/libopenui/src/form.cpp index c13cc3713..2802fc822 100644 --- a/radio/src/thirdparty/libopenui/src/form.cpp +++ b/radio/src/thirdparty/libopenui/src/form.cpp @@ -206,7 +206,11 @@ void FormGroup::onEvent(event_t event) first->setFocus(SET_FOCUS_FIRST); } else if (event == EVT_KEY_BREAK(KEY_EXIT) && !hasFocus() && !(windowFlags & FORM_FORWARD_FOCUS)) { +#if defined(HARDWARE_TOUCH) setFocus(SET_FOCUS_DEFAULT); +#else + FormField::onEvent(event); +#endif } else if (event == EVT_ROTARY_RIGHT && !next) { if (first)