From: PASCALE NOYRET Date: Thu, 13 Jan 2022 13:26:17 +0000 (+0100) Subject: le propage valide X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=94fc37868a18037ade5e539bcc1272c286718f39;p=tools%2Feficas.git le propage valide --- diff --git a/InterfaceWeb/browser.py b/InterfaceWeb/browser.py index 8f443e49..f8dfe8c2 100644 --- a/InterfaceWeb/browser.py +++ b/InterfaceWeb/browser.py @@ -82,7 +82,7 @@ class JDCNode(): self.appliEficas = treeParent.appliEficas self.firstAffiche = True self.childrenComplete=[] - self.oldValidite=None + self.oldValidite='init' self.item.fauxNoeudGraphique = self if item.nom != tr(item.nom) : name = str(tr(item.nom)+" :") @@ -103,8 +103,12 @@ class JDCNode(): def onValid(self): #----------------- + #print ('ds onValid') validite=self.item.isValid() if self.oldValidite==validite : return + if self.oldValidite=='init' : + self.oldValidite=validite + return self.oldValidite=validite #print ('appel de propageValide pour ', self.item.nom, validite,self.oldValidite) self.editor.connecteur.toWebApp('propageValide',self.getIdUnique(), validite)