mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 14:45:43 +01:00
Fix midi-note selection invert
Selecting Notes in a region does not select the region itself. Invert-selection needs to iterate over midi-regions that contain the selection.
This commit is contained in:
parent
282437ab77
commit
128623e7fb
1 changed files with 1 additions and 1 deletions
|
|
@ -1733,7 +1733,7 @@ Editor::invert_selection ()
|
|||
{
|
||||
|
||||
if (internal_editing()) {
|
||||
for (RegionSelection::iterator i = selection->regions.begin(); i != selection->regions.end(); ++i) {
|
||||
for (MidiRegionSelection::iterator i = selection->midi_regions.begin(); i != selection->midi_regions.end(); ++i) {
|
||||
MidiRegionView* mrv = dynamic_cast<MidiRegionView*>(*i);
|
||||
if (mrv) {
|
||||
mrv->invert_selection ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue