From 2583b603e7593f17b3a9e61e2072ed5b306c94dc Mon Sep 17 00:00:00 2001 From: philmoz Date: Fri, 30 May 2025 13:05:52 +1000 Subject: [PATCH] fix(color): button text for some choice values may be incorrect (#6329) --- radio/src/gui/colorlcd/libui/choice.h | 1 + 1 file changed, 1 insertion(+) diff --git a/radio/src/gui/colorlcd/libui/choice.h b/radio/src/gui/colorlcd/libui/choice.h index 4a8862c64..d37e28e60 100644 --- a/radio/src/gui/colorlcd/libui/choice.h +++ b/radio/src/gui/colorlcd/libui/choice.h @@ -42,6 +42,7 @@ class ChoiceBase : public FormField void setTextHandler(std::function handler) { textHandler = std::move(handler); + currentValue = INT_MAX; // Force update update(); }