Skip to content

Commit

Permalink
fix #60491: Frames can be set to have 0sp height or width, but this i…
Browse files Browse the repository at this point in the history
…s not saved
  • Loading branch information
lasconic committed Jun 30, 2015
1 parent 9fc6a20 commit e8a0d90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmscore/box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ void Box::writeProperties(Xml& xml) const
void Box::read(XmlReader& e)
{
_leftMargin = _rightMargin = _topMargin = _bottomMargin = 0.0;
_boxHeight = Spatium(0); // override default set in constructor
_boxWidth = Spatium(0);
bool keepMargins = false; // whether original margins have to be kept when reading old file

while (e.readNextStartElement()) {
Expand Down

0 comments on commit e8a0d90

Please sign in to comment.