[Form] Focus issue when scrolling left in nested Forms

This commit is contained in:
Bertrand Songis
2020-09-07 10:44:14 +02:00
parent 417f40c755
commit a54da93207
+1 -1
View File
@@ -222,7 +222,7 @@ void FormGroup::onEvent(event_t event)
} }
else if (event == EVT_ROTARY_LEFT && !previous) { else if (event == EVT_ROTARY_LEFT && !previous) {
if (last) if (last)
last->setFocus(SET_FOCUS_FIRST); last->setFocus(SET_FOCUS_BACKWARD);
} }
else { else {
FormField::onEvent(event); FormField::onEvent(event);