Skip to content

Commit

Permalink
Merge pull request #3943 from mattmcclinch/276049-measure-number
Browse files Browse the repository at this point in the history
fix #276049: 'Measure numbers every system' should place numbers after split measures
  • Loading branch information
anatoly-os committed Sep 13, 2018
2 parents e10cd82 + 08aeb12 commit bef6efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/measure.cpp
Expand Up @@ -512,7 +512,7 @@ void Measure::layout2()
&& !irregular()
&& (no() || score()->styleB(Sid::showMeasureNumberOne))) {
if (score()->styleB(Sid::measureNumberSystem))
smn = system()->firstMeasure() == this;
smn = (system()->firstMeasure() == this) || (prevMeasure() && prevMeasure()->irregular() && system()->firstMeasure() == prevMeasure());
else {
smn = (no() == 0 && score()->styleB(Sid::showMeasureNumberOne)) ||
( ((no() + 1) % score()->styleI(Sid::measureNumberInterval)) == (score()->styleB(Sid::showMeasureNumberOne) ? 1 : 0) ) ||
Expand Down

0 comments on commit bef6efc

Please sign in to comment.