son't try to select non-existent notes after editing (and thus crash).
- should fix 7135
This commit is contained in:
parent
3a362563a4
commit
cef341631b
|
@ -223,7 +223,10 @@ EditNoteDialog::done (int r)
|
|||
|
||||
_region_view->apply_diff ();
|
||||
|
||||
list<Evoral::event_id_t> notes;
|
||||
for (set<NoteBase*>::iterator i = _events.begin(); i != _events.end(); ++i) {
|
||||
(*i)->set_selected ((*i)->selected()); // change color
|
||||
notes.push_back ((*i)->note()->id());
|
||||
}
|
||||
|
||||
_region_view->select_notes (notes);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user