Remove all children before update.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-05-19 15:01:49 +03:00
parent 60ad8d2fd1
commit d7b4cbf860

View File

@ -764,6 +764,8 @@ void VToolRotation::SaveOptions(QDomElement &tag, QSharedPointer<VGObject> &obj)
doc->SetAttribute(tag, AttrAngle, formulaAngle);
doc->SetAttribute(tag, AttrSuffix, suffix);
doc->RemoveAllChildren(tag);
QDomElement tagObjects = doc->createElement(TagSource);
for (int i = 0; i < source.size(); ++i)
{