fix barLineTo in musicxml import

This commit is contained in:
ws 2013-01-29 14:40:30 +01:00
parent 31d80cdb81
commit ea0a72d7ed

View file

@ -3342,7 +3342,7 @@ static void setStaffLines(Score* score, int staffIdx, int stafflines)
score->staff(staffIdx)->addBracket(b);
// Following barLineTo value differs from the default set in staff.cpp,
// but results in the same barlines as the new score wizard.
score->staff(staffIdx)->setBarLineTo(stafflines * 2);
score->staff(staffIdx)->setBarLineTo((stafflines-1) * 2);
}
//---------------------------------------------------------