mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Don't add markers to the selection multiple times when adding a list.
git-svn-id: svn://localhost/ardour2/branches/3.0@11357 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e3b2111109
commit
5f750624b0
1 changed files with 3 additions and 0 deletions
|
|
@ -1045,6 +1045,9 @@ void
|
|||
Selection::add (const list<Marker*>& m)
|
||||
{
|
||||
markers.insert (markers.end(), m.begin(), m.end());
|
||||
markers.sort ();
|
||||
markers.unique ();
|
||||
|
||||
MarkersChanged ();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue