fix #114346
This commit is contained in:
parent
d86f9c1666
commit
5c9d1b638b
1 changed files with 6 additions and 5 deletions
|
@ -3001,8 +3001,7 @@ System* Score::collectSystem(LayoutContext& lc)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
bool raggedRight = MScore::noHorizontalStretch;
|
bool raggedRight = MScore::noHorizontalStretch;
|
||||||
|
System* system = getNextSystem(lc);
|
||||||
System* system = getNextSystem(lc);
|
|
||||||
system->setInstrumentNames(lc.startWithLongNames);
|
system->setInstrumentNames(lc.startWithLongNames);
|
||||||
|
|
||||||
qreal xo;
|
qreal xo;
|
||||||
|
@ -3503,9 +3502,11 @@ System* Score::collectSystem(LayoutContext& lc)
|
||||||
}
|
}
|
||||||
system->layout2(); // compute staff distances
|
system->layout2(); // compute staff distances
|
||||||
|
|
||||||
Measure* lm = system->lastMeasure();
|
Measure* lm = system->lastMeasure();
|
||||||
lc.firstSystem = lm && lm->sectionBreak() && _layoutMode != LayoutMode::FLOAT;
|
if (lm) {
|
||||||
lc.startWithLongNames = lc.firstSystem && lm->sectionBreak()->startWithLongNames();
|
lc.firstSystem = lm->sectionBreak() && _layoutMode != LayoutMode::FLOAT;
|
||||||
|
lc.startWithLongNames = lc.firstSystem && lm->sectionBreak()->startWithLongNames();
|
||||||
|
}
|
||||||
lc.systemChanged = lc.systemOldMeasure != (system->measures().empty() ? 0 : system->measures().back());
|
lc.systemChanged = lc.systemOldMeasure != (system->measures().empty() ? 0 : system->measures().back());
|
||||||
return system;
|
return system;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue