Skip to content

Commit

Permalink
fix mtest
Browse files Browse the repository at this point in the history
Update hairpin.cpp
  • Loading branch information
Jojo-Schmitz committed Dec 28, 2024
1 parent 54bfa5f commit 468af2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion importexport/musicxml/importmxmlpass2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ static void setSLinePlacement(SLine* sli, const QString placement)
#endif
if (placement == "above" || placement == "below") {
sli->setPlacement(placement == "above" ? Placement::ABOVE : Placement::BELOW);
sli->setPropertyFlags(Pid::PLACEMENT, PropertyFlags::UNSTYLED);
sli->setPropertyFlags(Pid::PLACEMENT, PropertyFlags::NOSTYLE);
sli->resetProperty(Pid::OFFSET);
}
}
Expand Down
1 change: 1 addition & 0 deletions libmscore/hairpin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ void Hairpin::write(XmlWriter& xml) const
writeProperty(xml, Pid::DYNAMIC_RANGE);
writeProperty(xml, Pid::SINGLE_NOTE_DYNAMICS);
writeProperty(xml, Pid::VELO_CHANGE_METHOD);
//writeProperty(xml, Pid::PLACEMENT);

TextLineBase::writeProperties(xml);
xml.etag();
Expand Down

0 comments on commit 468af2d

Please sign in to comment.