]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
CCAR: correction bug avec commentarisation commande
authoreficas <>
Mon, 21 Nov 2005 18:16:17 +0000 (18:16 +0000)
committereficas <>
Mon, 21 Nov 2005 18:16:17 +0000 (18:16 +0000)
Editeur/compooper.py
Ihm/I_OBJECT.py

index db5f18f5787bc8b021cc8c10e8b6f3a6ddaf8b68..1f983051cad3919748532ea9d009c55e157a3840 100644 (file)
@@ -296,8 +296,9 @@ class EtapeTreeItem(Objecttreeitem.ObjectTreeItem):
       commande_comment.jdc = commande_comment.parent = self.object.jdc
 
       pos=self.object.parent.etapes.index(self.object)
+      parent= self.object.parent
       self.object.parent.suppentite(self.object)
-      self.object.parent.addentite(commande_comment,pos)
+      parent.addentite(commande_comment,pos)
 
       return commande_comment
 
index cb8edb50d04d279b65e37d42bc3136d75ee46bb6..99a54efb12cd08cb5ffe0241d88fd8c50eb13294 100644 (file)
@@ -150,5 +150,8 @@ class OBJECT:
   def delete_mc_global(self):
      return
 
+  def update_mc_global(self):
+     return
+
   #def __del__(self):
   #   print "__del__",self