Fix Valentina crash.
Valentina crashes if remove piece node parent. --HG-- branch : develop
This commit is contained in:
parent
8e44628b57
commit
5fb0eb42fd
|
@ -177,9 +177,16 @@ void VNodePoint::PointChoosed()
|
|||
* @brief FullUpdateFromFile update tool data form file.
|
||||
*/
|
||||
void VNodePoint::FullUpdateFromFile()
|
||||
{
|
||||
try
|
||||
{
|
||||
RefreshPointGeometry(*VAbstractTool::data.GeometricObject<VPointF>(m_id));
|
||||
}
|
||||
catch (const VExceptionBadId &)
|
||||
{
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user