Skip to content

Commit

Permalink
fix(color): Popup for setting Trim in Input edit not showing values (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz authored Jan 24, 2024
1 parent d2decd2 commit baaf722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/gui/colorlcd/input_edit_adv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ InputEditAdvanced::InputEditAdvanced(uint8_t input_n, uint8_t index) :
line = form->newLine(&grid);
new StaticText(line, rect_t{}, STR_TRIM, 0, COLOR_THEME_PRIMARY1);
const auto trimLast = TRIM_OFF + keysGetMaxTrims() - 1;
auto c = new Choice(line, rect_t{}, -TRIM_OFF, -trimLast,
auto c = new Choice(line, rect_t{}, -TRIM_OFF, trimLast,
GET_VALUE(-input->trimSource),
SET_VALUE(input->trimSource, -newValue));

Expand Down

0 comments on commit baaf722

Please sign in to comment.