mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
minor MidiRegionView::redisplay_model() cleanup
This commit is contained in:
parent
68ca289b92
commit
e58fda2fa2
1 changed files with 1 additions and 1 deletions
|
|
@ -1193,8 +1193,8 @@ MidiRegionView::redisplay_model()
|
|||
if (!empty_when_starting) {
|
||||
MidiModel::Notes::iterator f;
|
||||
for (Events::iterator i = _events.begin(); i != _events.end(); ) {
|
||||
boost::shared_ptr<NoteType> note = (*i)->note();
|
||||
NoteBase* cne = (*i);
|
||||
boost::shared_ptr<NoteType> note = cne->note();
|
||||
|
||||
/* if event item's note exists in the model, we can just update it.
|
||||
* don't mark it as missing.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue