From fb91e62d4bdc973105bb665953cfdf233d48cfca Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 6 Jan 2017 02:56:01 +1100 Subject: [PATCH] tempo dialog disallows changing bbt position of a meter-locked tempo. --- gtk2_ardour/tempo_dialog.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/tempo_dialog.cc b/gtk2_ardour/tempo_dialog.cc index 9ec86e9071..920f590f5f 100644 --- a/gtk2_ardour/tempo_dialog.cc +++ b/gtk2_ardour/tempo_dialog.cc @@ -63,7 +63,8 @@ TempoDialog::TempoDialog (TempoMap& map, TempoSection& section, const string&) , tap_tempo_button (_("Tap tempo")) { Timecode::BBT_Time when (map.bbt_at_frame (section.frame())); - init (when, section.note_types_per_minute(), section.note_type(), section.type(), section.initial(), section.position_lock_style()); + init (when, section.note_types_per_minute(), section.note_type(), section.type() + , section.initial() || section.locked_to_meter(), section.position_lock_style()); } void