From 1ce17c19034e8e7995f8237f3de1e2569afcc231 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 7 Oct 2022 16:11:56 -0600 Subject: [PATCH] fix time domain for new BBT markers created from context menu/dialog --- 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 eaa9f2abb9..7b84a6f1ca 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -549,7 +549,7 @@ Editor::mouse_add_bbt_marker_event (timepos_t pos) /* position markers must always be positioned using audio time */ - BBTMarkerDialog marker_dialog (pos); + BBTMarkerDialog marker_dialog (timepos_t (pos.samples())); /* run this modally since we are finishing a drag and the drag object * will be destroyed when we return from here