Skip to content

Commit

Permalink
Merge pull request #4349 from dmitrio95/279554-measure-number
Browse files Browse the repository at this point in the history
fix #279554: do not apply measure number offset multiple times
  • Loading branch information
anatoly-os committed Dec 10, 2018
2 parents be8549e + cf058d8 commit 3f68f69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libmscore/layout.cpp
Expand Up @@ -3854,7 +3854,8 @@ void Score::doLayoutRange(int stick, int etick)
lc.tick = 0;
}
else {
lc.measureNo = lc.nextMeasure->no();
lc.measureNo = lc.nextMeasure->prevMeasure()->no() + 1; // will be adjusted later with respect
// to the user-defined offset.
lc.tick = lc.nextMeasure->tick();
}
}
Expand Down

0 comments on commit 3f68f69

Please sign in to comment.