From: eficas <> Date: Mon, 21 Nov 2005 18:16:17 +0000 (+0000) Subject: CCAR: correction bug avec commentarisation commande X-Git-Tag: CC_param_poursuite~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=503f8080f65b562d3188ef92944811386f99073f;p=modules%2Feficas.git CCAR: correction bug avec commentarisation commande --- diff --git a/Editeur/compooper.py b/Editeur/compooper.py index db5f18f5..1f983051 100644 --- a/Editeur/compooper.py +++ b/Editeur/compooper.py @@ -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 diff --git a/Ihm/I_OBJECT.py b/Ihm/I_OBJECT.py index cb8edb50..99a54efb 100644 --- a/Ihm/I_OBJECT.py +++ b/Ihm/I_OBJECT.py @@ -150,5 +150,8 @@ class OBJECT: def delete_mc_global(self): return + def update_mc_global(self): + return + #def __del__(self): # print "__del__",self