Skip to content

Commit

Permalink
fix #274439: Crash when deleting title frame
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmcclinch committed Jul 27, 2018
1 parent 44debd7 commit 5b430d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libmscore/layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3921,6 +3921,11 @@ void LayoutContext::layout()
while (score->npages() > curPage) // Remove not needed pages. TODO: make undoable:
score->pages().takeLast();
}
else {
Page* p = curSystem->page();
if (p && (p != page))
p->rebuildBspTree();
}
score->systems().append(systemList); // TODO
}

Expand Down

0 comments on commit 5b430d9

Please sign in to comment.