when creating new notes via MidiRegionView::create_note_at(), add note to selection
This commit is contained in:
parent
668ff4b638
commit
f546b38f42
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user