Xcos MVC: fix the adaptor-local parameters getters
[scilab.git] / scilab / modules / scicos / src / cpp / view_scilab / DiagramAdapter.cpp
index 138e24a..7f77968 100644 (file)
@@ -289,7 +289,7 @@ std::wstring DiagramAdapter::getShortTypeStr()
 
 types::InternalType* DiagramAdapter::getContribContent() const
 {
-    return contrib_content;
+    return contrib_content->clone();
 }
 
 void DiagramAdapter::setContribContent(types::InternalType* v)