From 180445c18c58232bcb6f874a6c6e63a50cf3aacd Mon Sep 17 00:00:00 2001 From: nick_m Date: Sat, 2 Jul 2016 03:06:49 +1000 Subject: [PATCH] Indicate meter frame even when adding a music-locked meter from the gui. --- gtk2_ardour/editor_tempodisplay.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index fa7d22ec89..6aa6494f36 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -361,7 +361,7 @@ Editor::mouse_add_new_meter_event (framepos_t frame) XMLNode &before = map.get_state(); if (meter_dialog.get_lock_style() == MusicTime) { - map.add_meter (Meter (bpb, note_type), map.beat_at_bbt (requested), requested, 0, MusicTime); + map.add_meter (Meter (bpb, note_type), map.beat_at_bbt (requested), requested, map.frame_at_bbt (requested), MusicTime); } else { map.add_meter (Meter (bpb, note_type), map.beat_at_bbt (requested), requested, map.frame_at_bbt (requested), AudioTime); }