Skip to content

Commit

Permalink
fix #278466: Select similar/in range for rests no longer works
Browse files Browse the repository at this point in the history
  • Loading branch information
jthistle committed Nov 20, 2018
1 parent 6ba431b commit fb8fa02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmscore/score.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3108,6 +3108,7 @@ void Score::selectSimilar(Element* e, bool sameStaff)
pattern.staffEnd = sameStaff ? e->staffIdx() + 1 : -1;
pattern.voice = -1;
pattern.system = 0;
pattern.durationTicks = -1;

score->scanElements(&pattern, collectMatch);

Expand Down Expand Up @@ -3140,6 +3141,7 @@ void Score::selectSimilarInRange(Element* e)
pattern.staffEnd = selection().staffEnd();
pattern.voice = -1;
pattern.system = 0;
pattern.durationTicks = -1;

score->scanElementsInRange(&pattern, collectMatch);

Expand Down

0 comments on commit fb8fa02

Please sign in to comment.