Skip to content

Commit

Permalink
fix #175821: [MusicXML import] Crash by importing a file with breath …
Browse files Browse the repository at this point in the history
…mark after grace note
  • Loading branch information
lasconic committed Mar 31, 2017
1 parent 0237dd3 commit 4b5bf8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mscore/importmxmlpass2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5814,7 +5814,7 @@ void MusicXMLParserPass2::notations(Note* note, ChordRest* cr, const int tick,
logError(QString("unknown wavy-line type %1").arg(wavyLineType));
}

if (breath != SymId::noSym) {
if (breath != SymId::noSym && !cr->isGrace()) {
Breath* b = new Breath(_score);
// b->setTrack(trk + voice); TODO check next line
b->setTrack(track);
Expand Down

0 comments on commit 4b5bf8c

Please sign in to comment.