diff --git a/src/app/tools/drawTools/vtoolline.cpp b/src/app/tools/drawTools/vtoolline.cpp index 0f072e580..44806774d 100644 --- a/src/app/tools/drawTools/vtoolline.cpp +++ b/src/app/tools/drawTools/vtoolline.cpp @@ -414,7 +414,7 @@ void VToolLine::SetSecondPoint(const quint32 &value) { secondPoint = value; - QSharedPointer obj = VAbstractTool::data.GetGObject(id); + QSharedPointer obj;//We don't have object for line in data container. Just will send empty object. SaveOption(obj); } } @@ -484,7 +484,7 @@ void VToolLine::SetFirstPoint(const quint32 &value) { firstPoint = value; - QSharedPointer obj = VAbstractTool::data.GetGObject(id); + QSharedPointer obj;//We don't have object for line in data container. Just will send empty object. SaveOption(obj); } }