Skip to content

Commit

Permalink
fix #66826: always display key change at start of system
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Jun 27, 2015
1 parent 3410986 commit 8ccf860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,7 @@ void Score::addSystemHeader(Measure* m, bool isFirstSystem)
keysig->layout();
undo(new AddElement(keysig));
}
else if (!needKeysig && keysig)
else if (!needKeysig && keysig && keysig->generated())
undoRemoveElement(keysig);
else if (keysig && !(keysig->keySigEvent() == keyIdx))
undo(new ChangeKeySig(keysig, keyIdx, keysig->showCourtesy()));
Expand Down

0 comments on commit 8ccf860

Please sign in to comment.