mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 12:08:16 +08:00
improve focus
This commit is contained in:
parent
553a77a9b9
commit
bb1a14cf86
@ -2452,7 +2452,7 @@ ret_t widget_on_keydown(widget_t* widget, key_event_t* e) {
|
|||||||
return_value_if_fail(widget != NULL && e != NULL, RET_BAD_PARAMS);
|
return_value_if_fail(widget != NULL && e != NULL, RET_BAD_PARAMS);
|
||||||
|
|
||||||
if (widget_on_keydown_general(widget, e) == RET_STOP) {
|
if (widget_on_keydown_general(widget, e) == RET_STOP) {
|
||||||
return RET_OK;
|
return RET_STOP;
|
||||||
}
|
}
|
||||||
|
|
||||||
widget_ref(widget);
|
widget_ref(widget);
|
||||||
|
Loading…
Reference in New Issue
Block a user