Skip to content

Fix a bug preventing certain options from being selected

The value macro output an if instead of else if statement, such that the else from values_end only applied to the final option, making that the only valid option.

Example: for the accel-profile setting, only the adaptive option was accepted, with none or flat resulting in an error.

Solution: change value from if to else if.

Before:

Screenshot_from_2023-05-19_01-33-42

After:

Screenshot_from_2023-06-03_18-43-13

Merge request reports