Merge pull request #5146 from mattmcclinch/291051-keysig-redo
fix #291051: Crash on redo after deleting a key signature
This commit is contained in:
commit
9d7f4e460e
1 changed files with 1 additions and 1 deletions
|
@ -3814,7 +3814,7 @@ void Measure::addSystemHeader(bool isFirstSystem)
|
|||
// a transposing instrument using a different key sig.
|
||||
// To prevent this from making the wrong key sig display, remove any key
|
||||
// sigs on staves where the key in this measure is C.
|
||||
score()->undo(new RemoveElement(e));
|
||||
kSegment->remove(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue