From: eficas <> Date: Tue, 9 Aug 2005 10:23:47 +0000 (+0000) Subject: PN : correction de bug (suppression d un JDC vide) X-Git-Tag: CC_param_poursuite~90 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=55ae08bd2d1fc7c9826b5609fb24fc78eccaa2fb;p=modules%2Feficas.git PN : correction de bug (suppression d un JDC vide) --- diff --git a/Ihm/I_JDC.py b/Ihm/I_JDC.py index 97984193..5292e68a 100644 --- a/Ihm/I_JDC.py +++ b/Ihm/I_JDC.py @@ -321,6 +321,9 @@ class JDC(I_OBJECT.OBJECT): """ #print "suppentite",self self.init_modif() + #PN correction de bugs + if etape not in self.etapes: + return 0 index_etape=self.etapes.index(etape) self.etapes.remove(etape)