Skip to content

Commit

Permalink
fix #136236: Remove the time signature in the presence of another one…
Browse files Browse the repository at this point in the history
… in a score with parts leads to corruption/crash
  • Loading branch information
lasconic committed Dec 5, 2016
1 parent f8a5eb8 commit 8d8ceee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libmscore/read206.cpp
Expand Up @@ -1562,6 +1562,7 @@ static bool readScore(Score* score, XmlReader& e)

ex->setPartScore(s);
ex->setTracks(e.tracks());
e.setLastMeasure(nullptr);
s->read(e);
m->addExcerpt(ex);
}
Expand Down
1 change: 1 addition & 0 deletions libmscore/read300.cpp
Expand Up @@ -167,6 +167,7 @@ bool Score::read(XmlReader& e)

ex->setPartScore(s);
ex->setTracks(e.tracks());
e.setLastMeasure(nullptr);
s->read(e);
m->addExcerpt(ex);
}
Expand Down

0 comments on commit 8d8ceee

Please sign in to comment.