ConfigTreeNode.py
changeset 1063 9b5995303db1
parent 1061 02f371f3e063
child 1179 3e7bd88fcff7
equal deleted inserted replaced
1062:fd7c9a7cf882 1063:9b5995303db1
   186     
   186     
   187             # mark confnode as saved
   187             # mark confnode as saved
   188             self.ChangesToSave = False
   188             self.ChangesToSave = False
   189             # go through all children and do the same
   189             # go through all children and do the same
   190             for CTNChild in self.IterChildren():
   190             for CTNChild in self.IterChildren():
   191                 result = CTNChild.CTNRequestSave(
   191                 CTNChildPath = None
   192                     CTNChild.CTNPath(project_path=from_project_path))
   192                 if from_project_path is not None:
       
   193                     CTNChildPath = CTNChild.CTNPath(project_path=from_project_path)
       
   194                 result = CTNChild.CTNRequestSave(CTNChildPath)
   193                 if result:
   195                 if result:
   194                     return result
   196                     return result
   195         return None
   197         return None
   196     
   198     
   197     def CTNImport(self, src_CTNPath):
   199     def CTNImport(self, src_CTNPath):