Skip to content

Commit

Permalink
No courtesy keysig to last measure if it is followed by frame with a …
Browse files Browse the repository at this point in the history
…section break

Follow up to #25420
  • Loading branch information
sammik authored and Jojo-Schmitz committed Dec 22, 2024
1 parent 7d37064 commit a8c54ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engraving/rendering/score/measurelayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ void MeasureLayout::createEndBarLines(Measure* m, bool isLastMeasureInSystem, La
// This flag is later used to set a double end bar line and to actually
// create the courtesy key sig.

if (nm && !m->sectionBreak()) {
if (nm && !m->isFinalMeasureOfSection()) {
// Don't change barlines at the end of a section break,
// and don't create courtesy key/time signatures.
bool hasKeySig = false;
Expand Down

0 comments on commit a8c54ca

Please sign in to comment.