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