Skip to content

Commit

Permalink
fix #181131: selecting hooks by voice doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed Mar 14, 2017
1 parent e559a34 commit accac71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/score.cpp
Expand Up @@ -2918,7 +2918,7 @@ void Score::collectMatch(void* data, Element* e)
if ((p->staffStart != -1)
&& ((p->staffStart > e->staffIdx()) || (p->staffEnd <= e->staffIdx())))
return;
if (e->isChord() || e->isRest() || e->isArticulation() || e->isLyrics() || e->isBeam() || e->isStem() || e->isSlurSegment() || e->isNoteDot() || e->isFingering() || e->isTuplet()) {
if (e->isChord() || e->isRest() || e->isArticulation() || e->isLyrics() || e->isBeam() || e->isHook() || e->isStem() || e->isSlurSegment() || e->isNoteDot() || e->isFingering() || e->isTuplet()) {
if (p->voice != -1 && p->voice != e->voice())
return;
}
Expand Down

0 comments on commit accac71

Please sign in to comment.