mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
make select-all in internal edit (MIDI note) edit mode operate on the region selection, not the set of regions with MIDI notes selected
git-svn-id: svn://localhost/ardour2/branches/3.0@9051 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
459eda7e11
commit
36f764167b
1 changed files with 5 additions and 3 deletions
|
|
@ -1218,9 +1218,11 @@ Editor::select_all_internal_edit (Selection::Operation op)
|
|||
{
|
||||
/* currently limited to MIDI only */
|
||||
|
||||
for (MidiRegionSelection::iterator i = selection->midi_regions.begin(); i != selection->midi_regions.end(); ++i) {
|
||||
MidiRegionView* mrv = *i;
|
||||
mrv->select_all_notes ();
|
||||
for (RegionSelection::iterator i = selection->regions.begin(); i != selection->regions.end(); ++i) {
|
||||
MidiRegionView* mrv = dynamic_cast<MidiRegionView*>(*i);
|
||||
if (mrv) {
|
||||
mrv->select_all_notes ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue