Fix a minor bug that caused the add leadin/leadout buttons to not update the time edit boxes. Patch by Harukalover, fixes #836.

Originally committed to SVN as r2906.
This commit is contained in:
Karl Blomster 2009-05-07 17:52:29 +00:00
parent 732ccbbb26
commit f869cd0231

View file

@ -1318,6 +1318,7 @@ void AudioDisplay::AddLead(bool in,bool out) {
} }
// Set changes // Set changes
UpdateTimeEditCtrls();
NeedCommit = true; NeedCommit = true;
if (Options.AsBool(_T("Audio Autocommit"))) CommitChanges(); if (Options.AsBool(_T("Audio Autocommit"))) CommitChanges();
Update(); Update();