Skip to content

Commit

Permalink
Merge pull request #3022 from CCInc/177216-otherDynamics
Browse files Browse the repository at this point in the history
Fix #177216: Changed other dynamic to export text instead of dynTypeName
  • Loading branch information
lasconic committed Feb 25, 2017
2 parents 702a9f8 + 3f137fa commit 0107097
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mscore/exportxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3581,7 +3581,10 @@ void ExportMusicXml::dynamic(Dynamic const* const dyn, int staff)
xml.tagE(dynTypeName);
}
else if (dynTypeName != "") {
xml.tag("other-dynamics", dynTypeName);
QString dynText = dynTypeName;
if (dyn->dynamicType() == Dynamic::Type::OTHER)
dynText = dyn->plainText();
xml.tag("other-dynamics", dynText);
}
xml.etag();

Expand Down

0 comments on commit 0107097

Please sign in to comment.