Model Select cosmetics

This commit is contained in:
Bertrand Songis
2019-10-28 18:00:11 +01:00
parent d5c34453d3
commit 6341d0d530
2 changed files with 19 additions and 6 deletions
+3 -5
View File
@@ -135,14 +135,13 @@ void TextEdit::onEvent(event_t event)
invalidate();
}
else {
trim();
changeEnd();
FormField::onEvent(event);
}
break;
case EVT_KEY_BREAK(KEY_EXIT):
cursorPos = 0;
trim();
changeEnd();
FormField::onEvent(event);
break;
@@ -211,8 +210,7 @@ void TextEdit::onFocusLost()
TextKeyboard::hide();
#endif
trim();
cursorPos = 0;
changeEnd();
// TODO storageDirty(...);
FormField::onFocusLost();