diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-10-11 19:25:34 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-10-11 19:25:34 -0300 |
commit | 7fb65c6ec6148a75830ad25b7f76500c17db0f3b (patch) | |
tree | 9eea1f1d2622446b3bf64d8cf0864c9a9aafad34 /Project/ControlElementContainer.cpp | |
parent | 4c162c4ef7386b8fea0ad82a0019a5434adc13fb (diff) | |
download | PSP.git-7fb65c6ec6148a75830ad25b7f76500c17db0f3b.tar.gz PSP.git-7fb65c6ec6148a75830ad25b7f76500c17db0f3b.tar.xz PSP.git-7fb65c6ec6148a75830ad25b7f76500c17db0f3b.zip |
Divider save bug fixed
Control icons updated
Version to download updated
Diffstat (limited to 'Project/ControlElementContainer.cpp')
-rw-r--r-- | Project/ControlElementContainer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/ControlElementContainer.cpp b/Project/ControlElementContainer.cpp index 042f7f2..9c9b1f1 100644 --- a/Project/ControlElementContainer.cpp +++ b/Project/ControlElementContainer.cpp @@ -64,6 +64,7 @@ void ControlElementContainer::ClearContainer() m_rateLimiterList.clear(); m_sumList.clear(); m_tfList.clear(); + m_dividerList.clear(); } void ControlElementContainer::FillContainer(std::vector<ControlElement*> controlElementList, @@ -113,7 +114,7 @@ void ControlElementContainer::GetContainerCopy(std::vector<ControlElement*>& con // Copy elements (exept connection line). int nodeID = 0; for(auto it = m_ctrlElementsList.begin(), itEnd = m_ctrlElementsList.end(); it != itEnd; ++it) { - Element* oldElement = *it; + ControlElement* oldElement = *it; ControlElement* copy = static_cast<ControlElement*>(oldElement->GetCopy()); controlElementList.push_back(copy); // Copy nodes. |