From 1158ce068e3b5b391604270bf10c52d0d2f7f4db Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 16 May 2017 19:07:49 -0300 Subject: Sync generator control fixed --- Project/ConnectionLine.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Project/ConnectionLine.cpp') diff --git a/Project/ConnectionLine.cpp b/Project/ConnectionLine.cpp index ea04e5e..0258f2e 100644 --- a/Project/ConnectionLine.cpp +++ b/Project/ConnectionLine.cpp @@ -184,3 +184,10 @@ void ConnectionLine::RemoveParent(Element* parent) if(element == parent) m_parentList.erase(it--); } } + +Element* ConnectionLine::GetCopy() +{ + ConnectionLine* copy = new ConnectionLine(); + *copy = *this; + return copy; +} -- cgit