Skip to content

Commit

Permalink
fix #19734
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Jan 18, 2013
1 parent fcdd7e5 commit 961596a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mscore/newwizard.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 961596a

Please sign in to comment.