From 503f8080f65b562d3188ef92944811386f99073f Mon Sep 17 00:00:00 2001 From: eficas <> Date: Mon, 21 Nov 2005 18:16:17 +0000 Subject: [PATCH] CCAR: correction bug avec commentarisation commande --- Editeur/compooper.py | 3 ++- Ihm/I_OBJECT.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.2