Skip to content

Commit

Permalink
fix #31391: fix concert pitch switch to not affect linked scores
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Aug 30, 2014
1 parent bff486a commit 144cc6b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libmscore/transpose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,7 @@ void Score::transposeKeys(int staffStart, int staffEnd, int tickStart, int tickE
Key key = st->key(s->tick());
Key nKey = transposeKey(key, interval);
KeySigEvent ke(nKey);
QList<Element*> ll = ks->linkList();
for (Element* e : ll) {
KeySig* ks = static_cast<KeySig*>(e);
undo(new ChangeKeySig(ks, ke, ks->showCourtesy()));
}
undo(new ChangeKeySig(ks, ke, ks->showCourtesy()));
}
}
if (createKey) {
Expand Down

0 comments on commit 144cc6b

Please sign in to comment.