diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-12-12 17:16:50 -0600 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-18 20:22:48 -0500 |
commit | 7ab8a11fb53782dfcf67b652dc65d8d177b0a1b6 (patch) | |
tree | 15975093e1a36db99e29ceca0f9f22fdd662cbb2 /gtk2_ardour/selection.cc | |
parent | cebf191cba74dea1c6630aa487a2a434a85ceb40 (diff) |
Enforce internal/external selection exclusivity.
Diffstat (limited to 'gtk2_ardour/selection.cc')
-rw-r--r-- | gtk2_ardour/selection.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc index b29f5c3241..9f69666497 100644 --- a/gtk2_ardour/selection.cc +++ b/gtk2_ardour/selection.cc @@ -42,6 +42,8 @@ using namespace std; using namespace ARDOUR; using namespace PBD; +PBD::Signal0<void> Selection::ClearMidiNoteSelection; + struct AudioRangeComparator { bool operator()(AudioRange a, AudioRange b) { return a.start < b.start; @@ -173,6 +175,10 @@ Selection::clear_midi_notes () midi_notes.clear (); MidiNotesChanged (); } + + /* The note selection is actually stored in MidiRegionView, emit signal to + tell them to clear their selection. */ + ClearMidiNoteSelection(); /* EMIT SIGNAL */ } void |