diff --git a/gtk2_ardour/edit_note_dialog.cc b/gtk2_ardour/edit_note_dialog.cc index 39a3fa4e78..924b75d3b1 100644 --- a/gtk2_ardour/edit_note_dialog.cc +++ b/gtk2_ardour/edit_note_dialog.cc @@ -223,7 +223,10 @@ EditNoteDialog::done (int r) _region_view->apply_diff (); + list notes; for (set::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); }