mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 20:18:22 +08:00
fix readonly edit
This commit is contained in:
parent
5e2630e6ad
commit
57a4e4b5d5
@ -437,6 +437,7 @@ ret_t edit_on_event(widget_t* widget, event_t* e) {
|
||||
return_value_if_fail(widget != NULL && edit != NULL, RET_BAD_PARAMS);
|
||||
|
||||
if (edit->readonly) {
|
||||
text_edit_set_cursor(edit->model, 0xffffffff);
|
||||
return RET_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user