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
@@ -46,7 +46,7 @@ bool CheckBox::onTouchEnd(coord_t x, coord_t y)
{
onKeyPress();
_setValue(!getValue());
setFocus();
setFocus(SET_FOCUS_DEFAULT);
invalidate();
return true;
}