when creating new notes via MidiRegionView::create_note_at(), add note to selection

This commit is contained in:
Paul Davis 2020-05-05 18:00:41 -06:00
parent 668ff4b638
commit f546b38f42

View File

@ -886,6 +886,11 @@ MidiRegionView::create_note_at (samplepos_t t, double y, Temporal::Beats length,
apply_diff();
trackview.editor().set_selected_midi_region_view (*this);
list<Evoral::event_id_t> to_be_selected;
to_be_selected.push_back (new_note->id());
select_notes (to_be_selected);
play_midi_note (new_note);
}