]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMFile.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMFile.cpp
index 3f92ffe9b29a2a81e43b41db285c0860092ff0be..dcafc8e1c8e0995babff83ef93376d0e6d294f69 100644 (file)
@@ -44,9 +44,10 @@ modelCDMFile::modelCDMFile()
 {
 }
 
-modelCDMFile::modelCDMFile(const std::string& path, const std::string& name, const int& level)
+modelCDMFile::modelCDMFile(modelCDMIProjectTreeNode* parent, const std::string& path, const std::string& name, const int& level)
 {
   std::cout << "creating file: " + path + "\n";
+  this->parent = parent;
   this->children.clear();
   this->level = level;
   this->name = name;