mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-04 04:58:24 +08:00
fix edit_on_key_down
This commit is contained in:
parent
23d75f6eff
commit
5be8540e05
@ -258,7 +258,7 @@ static ret_t edit_on_key_down(widget_t* widget, key_event_t* e) {
|
||||
} else if (key == FKEY_DELETE) {
|
||||
return edit_delete_next_char(widget);
|
||||
} else {
|
||||
if (isprint(key) && system_info()->app_type != APP_DESKTOP) {
|
||||
if (system_info()->app_type != APP_DESKTOP && isprint(key)) {
|
||||
return edit_input_char(widget, (wchar_t)key);
|
||||
} else {
|
||||
return RET_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user