--- a/application/main.c Sun Dec 07 15:23:03 2025 +0100 +++ b/application/main.c Sun Dec 07 15:28:46 2025 +0100 @@ -409,18 +409,18 @@ void action_group1(UiEvent *event, void *userdata) { UiContext *ctx = event->obj->ctx; if(userdata) { - ui_unset_group(ctx, 1); + ui_unset_state(ctx, 1); } else { - ui_set_group(ctx, 1); + ui_set_state(ctx, 1); } } void action_group2(UiEvent *event, void *userdata) { UiContext *ctx = event->obj->ctx; if(userdata) { - ui_unset_group(ctx, 2); + ui_unset_state(ctx, 2); } else { - ui_set_group(ctx, 2); + ui_set_state(ctx, 2); } } @@ -1002,9 +1002,9 @@ static void action_show_button1(UiEvent *event, void *data) { WData *wdata = event->window; if(event->intval) { - ui_set_group(event->obj->ctx, 10); + ui_set_state(event->obj->ctx, 10); } else { - ui_unset_group(event->obj->ctx, 10); + ui_unset_state(event->obj->ctx, 10); } } @@ -1064,7 +1064,7 @@ } ui_set(wdata->checkbox1, 1); - ui_set_group(obj->ctx, 10); + ui_set_state(obj->ctx, 10); ui_show(obj);