Skip to content

Commit

Permalink
Merge pull request #4074 from mattmcclinch/276537-hidden-staves
Browse files Browse the repository at this point in the history
fix #276537: Instrument names incorrectly positioned when part contains both hidden and visible staves
  • Loading branch information
anatoly-os committed Oct 29, 2018
1 parent 1b29bd2 commit 0af0cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ void System::layout2()
s2 = staff(staffIdx);
for (int i = staffIdx + nstaves - 1; i > 0; --i) {
SysStaff* s3 = staff(i);
if (s->show()) { // ??
if (s3->show()) {
s2 = s3;
break;
}
Expand Down

0 comments on commit 0af0cc8

Please sign in to comment.