It was impossible to get back from MixOne screen

This commit is contained in:
Bertrand Songis
2020-07-31 17:28:06 +02:00
parent 8235a1d97d
commit 39430cc937
+4
View File
@@ -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)