This commit is contained in:
ws 2013-01-18 17:39:51 +01:00
parent fcdd7e56a9
commit 961596a207

View file

@ -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);