Skip to content

Commit

Permalink
Merge pull request #186 from AntonioBL/firstsystem
Browse files Browse the repository at this point in the history
Fix #19852 : "Create clef for all systems" not working properly when unchecked
  • Loading branch information
lasconic committed Jan 28, 2013
2 parents 7ade766 + 9680914 commit 6fc0a58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libmscore/layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ bool Score::layoutSystem(qreal& minWidth, qreal w, bool isFirstSystem, bool long
m->createEndBarLines(); // TODO: type not set right here
if (isFirstMeasure) {
firstMeasure = m;
addSystemHeader(m, !isFirstSystem);
addSystemHeader(m, isFirstSystem);
ww = m->minWidth2();
}
else
Expand Down Expand Up @@ -1200,7 +1200,7 @@ bool Score::layoutSystem1(qreal& minWidth, bool isFirstSystem, bool longName)
Measure* m = static_cast<Measure*>(curMeasure);
m->createEndBarLines(); // TODO: type not set right here
if (isFirstMeasure) {
addSystemHeader(m, !isFirstSystem);
addSystemHeader(m, isFirstSystem);
ww = m->minWidth2();
}
else
Expand Down

0 comments on commit 6fc0a58

Please sign in to comment.