Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #293531: clef&key appear on second system after layout with gen c…
…lef&key disabled In #4866 I added code to better handle the detection of the end of the layout range. Part of this was to re-establish the header in the first measure after the end of the range. But my code mistakenly passed in lc.firstSystem as the firstSystem parameter. Thus it treated the *second* system as if it was the first, since lc.firstSystem was set based on the system we just completed, not the system we are about to consider. Fix is to calculate when this new system is actually the first system of a section or not. I calculate this the same way lc.firstMeasure itself is calculated.
- Loading branch information