From 775bf7d952b8767d5830b13e8f50003ff7f286f7 Mon Sep 17 00:00:00 2001 From: PASCALE NOYRET Date: Wed, 6 Apr 2022 16:53:37 +0200 Subject: [PATCH] essai --- Ihm/I_ETAPE.py | 2 +- Ihm/I_JDC.py | 2 ++ Ihm/I_MCFACT.py | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) 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: -- 2.39.2