fix creation of Cue markers via new ruler menu

This commit is contained in:
Ben Loftis 2024-06-01 08:21:10 -05:00
parent a7c613db22
commit 0a19b719d4
2 changed files with 3 additions and 3 deletions

View file

@ -2379,7 +2379,7 @@ Editor::add_location_mark_with_flag (timepos_t const & where, Location::Flags fl
if (!choose_new_marker_name (markername)) {
return;
}
Location *location = new Location (*_session, where, where, markername, flags);
Location *location = new Location (*_session, where, where, markername, flags, cue_id);
begin_reversible_command (_("add marker"));
XMLNode &before = _session->locations()->get_state();