Skip to content

Commit

Permalink
Merge pull request #4801 from MarcSabatella/283177-insert-measure-key
Browse files Browse the repository at this point in the history
fix #283177: insert measure at beginning of system repeats keysig
  • Loading branch information
anatoly-os committed Apr 10, 2019
2 parents 9cc6c01 + 11b656e commit 842f8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/edit.cpp
Expand Up @@ -2815,7 +2815,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 842f8a1

Please sign in to comment.