Skip to content
Permalink
Browse files

fix #60491: Frames can be set to have 0sp height or width, but this i…

…s not saved
  • Loading branch information...
lasconic committed Jun 30, 2015
1 parent 9fc6a20 commit e8a0d90aeb9ff821d16f6c1998a18a4050a1511d
Showing with 2 additions and 0 deletions.
  1. +2 −0 libmscore/box.cpp
@@ -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()) {

0 comments on commit e8a0d90

Please sign in to comment.
You can’t perform that action at this time.