Focus issue on disabled form fields

This commit is contained in:
Bertrand Songis
2020-04-22 09:55:11 +02:00
parent 8511939801
commit b166674604
17 changed files with 76 additions and 63 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ void TextEdit::onEvent(event_t event)
bool TextEdit::onTouchEnd(coord_t x, coord_t y)
{
if (!hasFocus()) {
setFocus();
setFocus(SET_FOCUS_DEFAULT);
}
#if defined(SOFTWARE_KEYBOARD)