Skip to content

Commit 60a42b5

Browse files
authored
fix(color): model may not be saved when curve 'smooth' property changed (#7225)
1 parent bf6708d commit 60a42b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

radio/src/gui/colorlcd/model/curveedit.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ void CurveEditWindow::buildBody(Window* window)
328328
new TextButton(iLine, rect_t{0, 0, EdgeTxStyles::EDIT_FLD_WIDTH_NARROW, 0}, STR_SMOOTH, [=]() {
329329
g_model.curves[index].smooth = !g_model.curves[index].smooth;
330330
Messaging::send(Messaging::CURVE_EDIT);
331+
SET_DIRTY();
331332
return g_model.curves[index].smooth;
332333
});
333334
smooth->check(g_model.curves[index].smooth);

0 commit comments

Comments
 (0)