summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-05-14 00:03:42 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-05-14 00:03:42 -0600
commit2f12815565ccb56dcec2acb23245bd9ebad897e4 (patch)
tree8a154ba630a74fe0d3c81e33d52653b6249e3fe6
parenta660077c97797c62d4813f3f6aa317d22cb2ea2a (diff)
MIDI: when drawing notes, leave selection containing only the just added note
This matches other DAWs and allows easy editing of just the last note, rather then all notes added since doing something else
-rw-r--r--gtk2_ardour/midi_region_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc
index 610f2fcb31..b70fa8d097 100644
--- a/gtk2_ardour/midi_region_view.cc
+++ b/gtk2_ardour/midi_region_view.cc
@@ -1804,7 +1804,7 @@ MidiRegionView::add_note(const boost::shared_ptr<NoteType> note, bool visible)
}
if (_marked_for_selection.find(note) != _marked_for_selection.end()) {
- note_selected(event, true);
+ note_selected (event, false);
}
if (_marked_for_velocity.find(note) != _marked_for_velocity.end()) {