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

Backport of musescore#25865
  • Loading branch information
sammik authored and Jojo-Schmitz committed Dec 25, 2024
1 parent ccd6fcd commit 8451c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/measure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3883,7 +3883,7 @@ qreal Measure::createEndBarLines(bool isLastMeasureInSystem)
// create the courtesy key sig.
//

bool show = score()->styleB(Sid::genCourtesyKeysig) && !sectionBreak() && nm;
bool show = score()->styleB(Sid::genCourtesyKeysig) && !isFinalMeasureOfSection() && nm;

setHasCourtesyKeySig(false);

Expand Down

0 comments on commit 8451c94

Please sign in to comment.