minor MidiRegionView::redisplay_model() cleanup
This commit is contained in:
parent
68ca289b92
commit
e58fda2fa2
@ -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…
Reference in New Issue
Block a user