Skip to content

Commit

Permalink
fix #18189
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Sep 24, 2012
1 parent 27c9390 commit a97e17e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libmscore/chordrest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,10 @@ void ChordRest::setTrack(int val)
}
if (_beam)
_beam->setTrack(val);
foreach(Lyrics* l, _lyricsList)
l->setTrack(val);
foreach(Lyrics* l, _lyricsList) {
if (l)
l->setTrack(val);
}
if (tuplet())
tuplet()->setTrack(val);
}
Expand Down

0 comments on commit a97e17e

Please sign in to comment.