prevent add-location-at-playhead-cursor etc. from adding multiple marks at the same location

This commit is contained in:
Paul Davis 2021-07-15 09:03:09 -06:00
parent 3c43fe54bb
commit d9877d5c99

View file

@ -2248,6 +2248,10 @@ Editor::add_location_from_selection ()
void
Editor::add_location_mark (samplepos_t where)
{
if (_session->locations()->mark_at (where, 1)) {
return;
}
string markername;
select_new_marker = true;