fix #19734
This commit is contained in:
parent
fcdd7e56a9
commit
961596a207
1 changed files with 3 additions and 0 deletions
|
@ -409,6 +409,9 @@ void InstrumentWizard::createInstruments(Score* cs)
|
|||
part->staves()->push_back(staff);
|
||||
cs->staves().insert(staffIdx + rstaff, staff);
|
||||
}
|
||||
// if a staff was removed from instrument:
|
||||
if (part->staves()->at(0)->barLineSpan() > rstaff)
|
||||
part->staves()->at(0)->setBarLineSpan(rstaff);
|
||||
|
||||
// insert part
|
||||
cs->insertPart(part, staffIdx);
|
||||
|
|
Loading…
Reference in a new issue