13
0

remove any existing data display from a MidiView when ::begin_write() happens

This commit is contained in:
Paul Davis 2024-11-01 17:43:25 -06:00
parent feed39be3d
commit 56c99a43d2

View File

@ -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];