summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-12-12 17:16:50 -0600
committerDavid Robillard <d@drobilla.net>2014-12-18 20:22:48 -0500
commit7ab8a11fb53782dfcf67b652dc65d8d177b0a1b6 (patch)
tree15975093e1a36db99e29ceca0f9f22fdd662cbb2 /gtk2_ardour/midi_region_view.h
parentcebf191cba74dea1c6630aa487a2a434a85ceb40 (diff)
Enforce internal/external selection exclusivity.
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index 7280ba6e4e..f9cc7c7299 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -348,6 +348,11 @@ private:
PBD::ScopedConnection _selection_cleared_connection;
void selection_cleared (MidiRegionView *);
+ /** this handles the case when the "external" world wants us to clear our internal selections
+ */
+ PBD::ScopedConnection _clear_midi_selection_connection;
+ void clear_midi_selection () { clear_selection(); }
+
friend class EditNoteDialog;
/** Play the NoteOn event of the given note immediately