Focus issue when a form is empty

This commit is contained in:
Bertrand Songis
2020-08-26 10:35:36 +02:00
parent dcfc8c625e
commit b17e7004a6
+4
View File
@@ -188,6 +188,10 @@ void FormGroup::setFocus(uint8_t flag)
else if (next) {
next->setFocus(SET_FOCUS_FORWARD);
}
else {
clearFocus();
focusWindow = this;
}
break;
}
}