From ff5c6dbb17d6a5ae53879d47592b915f06940a17 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 7 Feb 2015 16:48:48 +0200 Subject: [PATCH] Fixed bug. We don't have object for line in data container. Just will send empty object. --HG-- branch : feature --- src/app/tools/drawTools/vtoolline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }