mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-31 19:07:43 +01:00
Enforce internal/external selection exclusivity.
This commit is contained in:
parent
cebf191cba
commit
7ab8a11fb5
7 changed files with 57 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue