Fix copy/paste error.

This commit is contained in:
Roman Telezhynskyi 2024-02-27 15:38:59 +02:00
parent a138352d1c
commit 2b879c7bef

View File

@ -957,7 +957,7 @@ void VPLayoutFileReader::ReadMirrorLines(const VPPiecePtr &piece)
QXmlStreamAttributes const attribs = attributes(); QXmlStreamAttributes const attribs = attributes();
piece->SetFoldLineType(StringToFoldLineType( piece->SetFoldLineType(StringToFoldLineType(
ReadAttributeString(attribs, ML::AttrGrainlineType, FoldLineTypeToString(FoldLineType::TwoArrowsTextAbove)))); ReadAttributeString(attribs, ML::AttrFoldLineType, FoldLineTypeToString(FoldLineType::TwoArrowsTextAbove))));
piece->SetFoldLineHeight(ReadAttributeDouble(attribs, ML::AttrFoldLineHeight, QChar('0'))); piece->SetFoldLineHeight(ReadAttributeDouble(attribs, ML::AttrFoldLineHeight, QChar('0')));
piece->SetFoldLineWidth(ReadAttributeDouble(attribs, ML::AttrFoldLineWidth, QChar('0'))); piece->SetFoldLineWidth(ReadAttributeDouble(attribs, ML::AttrFoldLineWidth, QChar('0')));
piece->SetFoldLineCenterPosition(ReadAttributeDouble(attribs, ML::AttrFoldLineCenter, QString::number(0.5))); piece->SetFoldLineCenterPosition(ReadAttributeDouble(attribs, ML::AttrFoldLineCenter, QString::number(0.5)));