From 60a42b5de7354337c59235ef9fe88e98b3bb4df5 Mon Sep 17 00:00:00 2001 From: philmoz Date: Thu, 16 Apr 2026 10:00:08 +1000 Subject: [PATCH] fix(color): model may not be saved when curve 'smooth' property changed (#7225) --- radio/src/gui/colorlcd/model/curveedit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/radio/src/gui/colorlcd/model/curveedit.cpp b/radio/src/gui/colorlcd/model/curveedit.cpp index f39c47e1f..7ecdf6e05 100644 --- a/radio/src/gui/colorlcd/model/curveedit.cpp +++ b/radio/src/gui/colorlcd/model/curveedit.cpp @@ -328,6 +328,7 @@ void CurveEditWindow::buildBody(Window* window) new TextButton(iLine, rect_t{0, 0, EdgeTxStyles::EDIT_FLD_WIDTH_NARROW, 0}, STR_SMOOTH, [=]() { g_model.curves[index].smooth = !g_model.curves[index].smooth; Messaging::send(Messaging::CURVE_EDIT); + SET_DIRTY(); return g_model.curves[index].smooth; }); smooth->check(g_model.curves[index].smooth);