Use radio button for points count

pull/4/head
DiSlord 5 years ago
parent fd831b5f96
commit 52ab7fa2b7

@ -1182,7 +1182,7 @@ static const uint16_t points_setting[] = {145, 290, -1};
static UI_FUNCTION_ADV_CALLBACK(menu_points_acb){ static UI_FUNCTION_ADV_CALLBACK(menu_points_acb){
(void)item; (void)item;
if(b){ if(b){
b->icon = points_setting[data] == sweep_points ? BUTTON_ICON_CHECK : BUTTON_ICON_NOCHECK; b->icon = points_setting[data] == sweep_points ? BUTTON_ICON_GROUP_CHECKED : BUTTON_ICON_GROUP;
return; return;
} }
set_sweep_points(points_setting[data]); set_sweep_points(points_setting[data]);

Loading…
Cancel
Save

Powered by TurnKey Linux.