commit d6ad291f810ce14b24935a1c475cb02bd49445d3 parent 57462172ca22dad0c39208033bb0450d6e740c21 Author: Matt Demanett <matt@demanett.net> Date: Thu, 3 Sep 2020 21:42:47 -0400 Fix init/reset on mode-select buttons. Diffstat:
M | src/widgets.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/widgets.cpp b/src/widgets.cpp @@ -299,7 +299,7 @@ StatefulButton::StatefulButton(const char* offSvgPath, const char* onSvgPath) { void StatefulButton::reset() { if (paramQuantity) { - paramQuantity->setValue(paramQuantity->getMinValue()); + paramQuantity->reset(); } }