Skip to content

Commit

Permalink
create system headers after section break in panoramic view
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed May 13, 2015
1 parent e072990 commit befbfde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libmscore/layout.cpp
Expand Up @@ -3152,6 +3152,11 @@ void Score::layoutLinear()
if (system->measures().isEmpty())
return;
addSystemHeader(firstMeasureMM(), true);
// also add a system header after a section break
for (Measure* m = firstMeasureMM(); m; m = m->nextMeasureMM()) {
if (m->sectionBreak() && m->nextMeasureMM())
addSystemHeader(m->nextMeasureMM(), true);
}
removeGeneratedElements(firstMeasureMM(), lastMeasureMM());

QPointF pos(0.0, 0.0);
Expand Down

0 comments on commit befbfde

Please sign in to comment.