Skip to content

Commit

Permalink
Fix Cubase XML chord symbol import
Browse files Browse the repository at this point in the history
Backport of musescore#24915
  • Loading branch information
miiizen authored and Jojo-Schmitz committed Sep 27, 2024
1 parent 4f9458d commit 6bf4aed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion importexport/musicxml/importmxmlpass2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6873,7 +6873,8 @@ void MusicXMLParserPass2::harmony(const QString& partId, Measure* measure, const
else if (_e.name() == "root-alter") {
// attributes: print-object
// location (left-right)
alter = _e.readElementText().toInt();
// Cubase exports this value with a trailing newline
alter = _e.readElementText().simplified().toInt();
}
else
skipLogCurrElem();
Expand Down

0 comments on commit 6bf4aed

Please sign in to comment.