diff --git a/src/importexport/musicxml/internal/musicxml/import/importmusicxmlpass2.cpp b/src/importexport/musicxml/internal/musicxml/import/importmusicxmlpass2.cpp index f74bf628029da..be05256b3e38e 100644 --- a/src/importexport/musicxml/internal/musicxml/import/importmusicxmlpass2.cpp +++ b/src/importexport/musicxml/internal/musicxml/import/importmusicxmlpass2.cpp @@ -8789,7 +8789,7 @@ void MusicXmlParserNotations::addNotation(const Notation& notation, ChordRest* c // Terminate tempo line const InferredTempoLineStack& lines = m_pass2.getInferredTempoLine(); terminateInferredLine(std::vector(lines.begin(), lines.end()), cr->tick(), cr->track()); - } else if (String(notation.name()).contains(u"turn") || notation.name() == u"schleifer") { + } else if (notation.parent() == u"ornaments") { addTurnToChord(notation, cr); } else { addArticulationToChord(notation, cr);