Fixed clearing curves

Resolves #1295
This commit is contained in:
Raphael Coeffic
2022-01-04 14:21:07 +10:00
committed by Peter Feerick
parent a077f2e325
commit 44cdb4497f
5 changed files with 146 additions and 120 deletions
+1 -1
View File
@@ -361,7 +361,7 @@ void ModelCurvesPage::build(FormWindow * window, int8_t focusIndex)
button->invalidate();
});
menu->addLine(STR_CLEAR, [=]() {
curveReset(index);
curveClear(index);
storageDirty(EE_MODEL);
rebuild(window, index);
});