diff --git a/share/scripts/add_cdmarker.lua b/share/scripts/add_cdmarker.lua index 6636b8d198..393e3db1c0 100644 --- a/share/scripts/add_cdmarker.lua +++ b/share/scripts/add_cdmarker.lua @@ -2,6 +2,6 @@ ardour { ["type"] = "EditorAction", name = "Add CD marker" } function factory () return function () - Editor:mouse_add_new_marker (Temporal.timepos_t (Session:transport_sample()), ARDOUR.LocationFlags.IsCDMarker, 0) + Editor:add_location_mark (Temporal.timepos_t (Session:transport_sample()), ARDOUR.LocationFlags.IsCDMarker, 0) end end