From 589c13c0eb9f6003a7e8cf923110459c897ea4b0 Mon Sep 17 00:00:00 2001 From: nick_m Date: Tue, 7 Mar 2017 04:00:38 +1100 Subject: allow setting end bpm in new tempo from tempo dialog. --- gtk2_ardour/editor_tempodisplay.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 7f34e19398..64a9f72a45 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -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); -- cgit v1.2.3