mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
remove any existing data display from a MidiView when ::begin_write() happens
This commit is contained in:
parent
feed39be3d
commit
56c99a43d2
1 changed files with 2 additions and 0 deletions
|
|
@ -1573,6 +1573,8 @@ MidiView::begin_write()
|
|||
XXX this should not happen.
|
||||
*/
|
||||
|
||||
clear_events ();
|
||||
|
||||
if (_active_notes) {
|
||||
for (unsigned i = 0; i < 128; ++i) {
|
||||
delete _active_notes[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue