mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-10 04:37:55 +08:00
example(checkbox): Correct checkbox enable comment (#7763)
This commit is contained in:
@@ -17,7 +17,7 @@ static void radio_event_handler(lv_event_t * e)
|
||||
if(act_cb == cont) return;
|
||||
|
||||
lv_obj_remove_state(old_cb, LV_STATE_CHECKED); /*Uncheck the previous radio button*/
|
||||
lv_obj_add_state(act_cb, LV_STATE_CHECKED); /*Uncheck the current radio button*/
|
||||
lv_obj_add_state(act_cb, LV_STATE_CHECKED); /*Check the current radio button*/
|
||||
|
||||
*active_id = lv_obj_get_index(act_cb);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user