From: PASCALE NOYRET Date: Wed, 6 Apr 2022 14:53:37 +0000 (+0200) Subject: essai X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fweb;p=tools%2Feficas.git essai --- diff --git a/Ihm/I_ETAPE.py b/Ihm/I_ETAPE.py index 31172dd2..e5aff54c 100644 --- a/Ihm/I_ETAPE.py +++ b/Ihm/I_ETAPE.py @@ -91,7 +91,7 @@ class ETAPE(I_MCCOMPO.MCCOMPO): ex : INCLUDE et POURSUITE Ne pas mettre de traitement qui risque d'induire des recursions (soit a peu pres rien) """ - CONNECTOR.Emit(self,"valid") + #CONNECTOR.Emit(self,"valid") if self.parent: self.parent.finModif() diff --git a/Ihm/I_JDC.py b/Ihm/I_JDC.py index 22389d77..64f32fe4 100644 --- a/Ihm/I_JDC.py +++ b/Ihm/I_JDC.py @@ -60,6 +60,8 @@ class JDC(I_OBJECT.OBJECT): self.recorded_units={} self.old_recorded_units={} + def isOblig(self): + return 1 def getIndex(self,objet): """ diff --git a/Ihm/I_MCFACT.py b/Ihm/I_MCFACT.py index 53bcc72f..6da2453f 100644 --- a/Ihm/I_MCFACT.py +++ b/Ihm/I_MCFACT.py @@ -162,6 +162,7 @@ class MCFACT(I_MCCOMPO.MCCOMPO): (statut, repetable) =self.getStatutEtRepetable() monDico['statut']=statut monDico['repetable']=repetable + if monDico['validite']==1 and monDico['statut']='f' : monDico['validite']=2 listeNodes=[] for obj in self.mcListe: