remove any existing data display from a MidiView when ::begin_write() happens
This commit is contained in:
parent
feed39be3d
commit
56c99a43d2
@ -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…
Reference in New Issue
Block a user