mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 05:05:43 +01:00
evoral: Sequence::clear() needs to remove patch changes and sysexes too
This commit is contained in:
parent
fded5063d9
commit
f4a57f83e6
1 changed files with 2 additions and 0 deletions
|
|
@ -624,6 +624,8 @@ Sequence<Time>::clear()
|
|||
{
|
||||
WriteLock lock(write_lock());
|
||||
_notes.clear();
|
||||
_sysexes.clear ();
|
||||
_patch_changes.clear ();
|
||||
for (Controls::iterator li = _controls.begin(); li != _controls.end(); ++li)
|
||||
li->second->list()->clear();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue