File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/engraving/rendering/dev Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -514,7 +514,8 @@ System* SystemLayout::collectSystem(LayoutContext& ctx)
514
514
ctx.mutState ().setStartWithLongNames (ctx.state ().firstSystem () && layoutBreak->startWithLongNames ());
515
515
}
516
516
517
- if (oldSystem && oldSystem->tick () >= system->endTick () && !(oldSystem->page () && oldSystem->page () != ctx.state ().page ())) {
517
+ if (oldSystem && !oldSystem->measures ().empty () && oldSystem->measures ().front ()->tick () >= system->endTick ()
518
+ && !(oldSystem->page () && oldSystem->page () != ctx.state ().page ())) {
518
519
// We may have previously processed the ties of the next system (in LayoutChords::updateLineAttachPoints()).
519
520
// We need to restore them to the correct state.
520
521
SystemLayout::restoreTiesAndBends (oldSystem, ctx);
You can’t perform that action at this time.
0 commit comments