tempo dialog disallows changing bbt position of a meter-locked tempo.
authornick_m <mainsbridge@gmail.com>
Thu, 5 Jan 2017 15:56:01 +0000 (02:56 +1100)
committernick_m <mainsbridge@gmail.com>
Thu, 5 Jan 2017 15:56:01 +0000 (02:56 +1100)
gtk2_ardour/tempo_dialog.cc

index 9ec86e9071384c80d764d3af745c85ab7a0d364d..920f590f5f0f5174db823a3d4b2640b7eff68669 100644 (file)
@@ -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