evoral: Sequence::clear() needs to remove patch changes and sysexes too
This commit is contained in:
parent
fded5063d9
commit
f4a57f83e6
@ -624,6 +624,8 @@ Sequence<Time>::clear()
|
|||||||
{
|
{
|
||||||
WriteLock lock(write_lock());
|
WriteLock lock(write_lock());
|
||||||
_notes.clear();
|
_notes.clear();
|
||||||
|
_sysexes.clear ();
|
||||||
|
_patch_changes.clear ();
|
||||||
for (Controls::iterator li = _controls.begin(); li != _controls.end(); ++li)
|
for (Controls::iterator li = _controls.begin(); li != _controls.end(); ++li)
|
||||||
li->second->list()->clear();
|
li->second->list()->clear();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user