Fixed issue #955. Valentina corrupts file.
(grafted from 8e9fc213aa8018ebcf889cc9baa3f08a31b4e423) --HG-- branch : develop
This commit is contained in:
parent
33d83cedea
commit
504e617686
|
@ -29,6 +29,7 @@
|
|||
- [#937] Wrong symmetrical seam corners on pieces.
|
||||
- [#942] Save Layout mode ignores paper format for tiled PDF.
|
||||
- [#954] Valentina produces empty rotation operation.
|
||||
- [#955] Valentina corrupts file.
|
||||
|
||||
# Version 0.6.1 October 23, 2018
|
||||
- [#885] Regression. Broken support for multi size measurements.
|
||||
|
|
|
@ -147,10 +147,9 @@ void VToolPiecePath::incrementReferens()
|
|||
{
|
||||
doc->IncrementReferens(idTool);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
IncrementNodes(VAbstractTool::data.GetPiecePath(m_id));
|
||||
}
|
||||
|
||||
ShowNode();
|
||||
QDomElement domElement = doc->elementById(m_id, getTagName());
|
||||
if (domElement.isElement())
|
||||
|
@ -170,10 +169,9 @@ void VToolPiecePath::decrementReferens()
|
|||
{
|
||||
doc->DecrementReferens(idTool);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
DecrementNodes(VAbstractTool::data.GetPiecePath(m_id));
|
||||
}
|
||||
|
||||
HideNode();
|
||||
QDomElement domElement = doc->elementById(m_id, getTagName());
|
||||
if (domElement.isElement())
|
||||
|
|
Loading…
Reference in New Issue
Block a user