Skip to content

Commit

Permalink
fix #46091 No clef change appears at start of system with 'Create for…
Browse files Browse the repository at this point in the history
… all systems' turned off
  • Loading branch information
wschweer committed Feb 16, 2015
1 parent a0a53a6 commit afc02eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libmscore/layout.cpp
Expand Up @@ -1656,7 +1656,11 @@ void Score::addSystemHeader(Measure* m, bool isFirstSystem)
else if (keysig && !(keysig->keySigEvent() == keyIdx))
undo(new ChangeKeySig(keysig, keyIdx, keysig->showCourtesy()));

bool needClef = isFirstSystem || styleB(StyleIdx::genClef);
bool needClef = isFirstSystem
|| styleB(StyleIdx::genClef)
// real clef change?:
|| staff->clef(m->tick()) != staff->clef(m->tick()-1);

if (needClef) {
if (!clef) {
//
Expand Down

0 comments on commit afc02eb

Please sign in to comment.