Skip to content

Commit

Permalink
Add brackets to ambiguous else in MusicXML import
Browse files Browse the repository at this point in the history
  • Loading branch information
iveshenry18 committed Jul 7, 2021
1 parent 364e264 commit fed8e1f
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 @@ -2597,9 +2597,10 @@ void MusicXMLParserDirection::direction(const QString& partId,

QString wordsPlacement = placement();
// Case-based defaults
if (wordsPlacement.isEmpty())
if (wordsPlacement.isEmpty()) {
if (isVocalStaff) wordsPlacement = "above";
else if (isExpressionText) wordsPlacement = "below";
}

if (isLikelyFingering()) {
_logger->logDebugInfo(QString("Inferring fingering: %1").arg(_wordsText));
Expand Down

0 comments on commit fed8e1f

Please sign in to comment.