Skip to content

Commit

Permalink
Merge pull request #4569 from dmitrio95/281020-slur-instrument-add-crash
Browse files Browse the repository at this point in the history
fix #281020: Slurs settings and saving added instruments lead to crash
  • Loading branch information
anatoly-os committed Jan 14, 2019
2 parents f702d10 + 7fd921a commit 56c6d86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libmscore/score.cpp
Expand Up @@ -2528,6 +2528,7 @@ void Score::cmdRemoveStaff(int staffIdx)

void Score::sortStaves(QList<int>& dst)
{
qDeleteAll(systems());
systems().clear(); //??
_parts.clear();
Part* curPart = 0;
Expand Down

0 comments on commit 56c6d86

Please sign in to comment.