diff --git a/engine/src/fixture.cpp b/engine/src/fixture.cpp index 5535b13c3..f395dfed2 100644 --- a/engine/src/fixture.cpp +++ b/engine/src/fixture.cpp @@ -1041,7 +1041,7 @@ bool Fixture::loadXML(QXmlStreamReader &xmlDoc, Doc *doc, { modeName = xmlDoc.readElementText(); } - else if (xmlDoc.name() == KXMLQLCPhysicalDimensionsWeight) + else if (xmlDoc.name() == KXMLQLCPhysicalDimensionsWidth) { width = xmlDoc.readElementText().toUInt(); } @@ -1260,7 +1260,7 @@ bool Fixture::saveXML(QXmlStreamWriter *doc) const /* RGB Panel physical dimensions */ if (m_fixtureDef != NULL && m_fixtureDef->model() == KXMLFixtureRGBPanel && m_fixtureMode != NULL) { - doc->writeTextElement(KXMLQLCPhysicalDimensionsWeight, + doc->writeTextElement(KXMLQLCPhysicalDimensionsWidth, QString::number(m_fixtureMode->physical().width())); doc->writeTextElement(KXMLQLCPhysicalDimensionsHeight,