From bdba1501dbc65dc945dc7fc0e297d65db356fcbb Mon Sep 17 00:00:00 2001 From: Joachim Schmitz Date: Sun, 29 Sep 2024 14:26:05 +0200 Subject: [PATCH] Fix Cubase XML chord symbol import Follow up to #24915 --- .../musicxml/internal/musicxml/importmxmlpass2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/importexport/musicxml/internal/musicxml/importmxmlpass2.cpp b/src/importexport/musicxml/internal/musicxml/importmxmlpass2.cpp index 4b566615b36fc..f1dc6d73ca688 100644 --- a/src/importexport/musicxml/internal/musicxml/importmxmlpass2.cpp +++ b/src/importexport/musicxml/internal/musicxml/importmxmlpass2.cpp @@ -7434,7 +7434,8 @@ void MusicXMLParserPass2::harmony(const String& partId, Measure* measure, const } else if (m_e.name() == "bass-alter") { // attributes: print-object, print-style // location (left-right) - alter = m_e.readInt(); + // Cubase exports this value with a trailing newline + alter = m_e.readText().simplified().toInt(); } else { skipLogCurrElem(); }