fix #277145: Delete entire score in Continuous View causes crash
This commit is contained in:
parent
4899a7cd69
commit
665d240caf
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue