mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
prevent add-location-at-playhead-cursor etc. from adding multiple marks at the same location
This commit is contained in:
parent
3c43fe54bb
commit
d9877d5c99
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue