Skip to content

Commit

Permalink
fix #277145: Delete entire score in Continuous View causes crash
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmcclinch committed Oct 15, 2018
1 parent 4899a7c commit 665d240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/layout.cpp
Expand Up @@ -3704,7 +3704,7 @@ void Score::doLayoutRange(int stick, int etick)
{
if (stick == -1 && etick == -1)
abort();
if (!last()) {
if (!last() || (lineMode() && !firstMeasure())) {
qDeleteAll(_systems);
_systems.clear();
qDeleteAll(pages());
Expand Down

0 comments on commit 665d240

Please sign in to comment.