commit b677e0748450eb877012f97b952ca494a34cb56a
parent bc7e7f6f10a79c703b19a822fd3267b7c325429c
Author: Christopher A. Oliver <caowasteland@gmail.com>
Date: Thu, 22 Oct 2015 20:45:30 -0400
Reset the wave type and parameter when sine conversion's done.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/UI/OscilGenUI.fl b/src/UI/OscilGenUI.fl
@@ -880,6 +880,9 @@ redrawoscil();}
callback {if (!fl_choice("Convert to SINE?","No","Yes",NULL)) return;
osc->requestValue(loc+"convert2sine");
+bftype->update();
+bfslider->value(0);
+bfslider->do_callback();
redrawoscil();
refresh();}