13
0

allow setting end bpm in new tempo from tempo dialog.

This commit is contained in:
nick_m 2017-03-07 04:00:38 +11:00
parent 30dd692d13
commit 589c13c0eb

View File

@ -533,9 +533,10 @@ Editor::edit_tempo_section (TempoSection* section)
}
double bpm = tempo_dialog.get_bpm ();
double end_bpm = tempo_dialog.get_end_bpm ();
double nt = tempo_dialog.get_note_type ();
bpm = max (0.01, bpm);
const Tempo tempo (bpm, nt);
const Tempo tempo (bpm, nt, end_bpm);
Timecode::BBT_Time when;
tempo_dialog.get_bbt_time (when);