Skip to content

Commit

Permalink
fix #283177: insert measure at beginning of system repeats keysig
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Mar 16, 2019
1 parent a9df4a0 commit 11b656e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/edit.cpp
Expand Up @@ -2740,7 +2740,7 @@ void Score::insertMeasure(ElementType type, MeasureBase* measure, bool createEmp
if (!s->enabled())
continue;
Element* e = s->element(staffIdx * VOICES);
if (!e)
if (!e || e->generated())
continue;
Element* ee = 0;
if (e->isKeySig()) {
Expand Down

0 comments on commit 11b656e

Please sign in to comment.