mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 19:18:53 +08:00
fix edit CHANGING events
This commit is contained in:
parent
57a4e4b5d5
commit
43baf363d4
@ -422,8 +422,9 @@ static ret_t edit_on_key_down(widget_t* widget, key_event_t* e) {
|
||||
if (key == TK_KEY_v) {
|
||||
edit_paste(widget);
|
||||
} else {
|
||||
return text_edit_key_down(edit->model, (key_event_t*)e);
|
||||
text_edit_key_down(edit->model, (key_event_t*)e);
|
||||
}
|
||||
edit_dispatch_event(widget, EVT_VALUE_CHANGING);
|
||||
} else if (system_info()->app_type != APP_DESKTOP && key < 128 && isprint(key)) {
|
||||
edit_input_char(widget, (wchar_t)key);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user