summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_tempodisplay.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2017-03-07 04:00:38 +1100
committernick_m <mainsbridge@gmail.com>2017-03-07 04:00:38 +1100
commit589c13c0eb9f6003a7e8cf923110459c897ea4b0 (patch)
tree8e9b2e797648492d064f6cb4f32c26909eccae29 /gtk2_ardour/editor_tempodisplay.cc
parent30dd692d134de57a446dd8fc2fb6d39faad99e9a (diff)
allow setting end bpm in new tempo from tempo dialog.
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r--gtk2_ardour/editor_tempodisplay.cc3
1 files changed, 2 insertions, 1 deletions
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);