Actually read the values from the TPP dialog before applying processing

Originally committed to SVN as r6348.
This commit is contained in:
Thomas Goyne 2012-01-23 23:53:26 +00:00
parent 3b5bc88285
commit df9f46b49c

View file

@ -262,6 +262,7 @@ void DialogTimingProcessor::UpdateControls() {
} }
void DialogTimingProcessor::OnApply(wxCommandEvent &) { void DialogTimingProcessor::OnApply(wxCommandEvent &) {
TransferDataFromWindow();
// Save settings // Save settings
OPT_SET("Audio/Lead/IN")->SetInt(leadIn); OPT_SET("Audio/Lead/IN")->SetInt(leadIn);
OPT_SET("Audio/Lead/OUT")->SetInt(leadOut); OPT_SET("Audio/Lead/OUT")->SetInt(leadOut);