diff --git a/src/importexport/musicxml/internal/musicxml/export/exportmusicxml.cpp b/src/importexport/musicxml/internal/musicxml/export/exportmusicxml.cpp index a4bdfc9895ac8..5fba1a4ca7ea6 100644 --- a/src/importexport/musicxml/internal/musicxml/export/exportmusicxml.cpp +++ b/src/importexport/musicxml/internal/musicxml/export/exportmusicxml.cpp @@ -8311,7 +8311,7 @@ void ExportMusicXml::writeMeasureTracks(const Measure* const m, if (seg->isTimeTickType()) { // Prefer to start/stop spanners on a chordrest segment where one is available const Segment* crSeg = m_score->tick2leftSegment(seg->tick()); - if (crSeg && crSeg->tick() == seg->tick()) { + if (crSeg && crSeg->tick() == seg->tick() && crSeg->element(strack)) { continue; } spannerStart(this, strack, etrack, track, partRelStaffNo, seg);