Skip to content

Commit

Permalink
fix #57556: honor voice filter in commands that operate on note lists
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Apr 24, 2015
1 parent 3227c6e commit 7ba9aaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmscore/select.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,8 @@ QList<Note*> Selection::noteList(int selTrack) const
if (!(seg->segmentType() & (Segment::Type::ChordRest)))
continue;
for (int track = startTrack; track < endTrack; ++track) {
if (!canSelectVoice(track))
continue;
Element* e = seg->element(track);
if (e == 0 || e->type() != Element::Type::CHORD
|| (selTrack != -1 && selTrack != track))
Expand Down

0 comments on commit 7ba9aaa

Please sign in to comment.