From: PASCALE NOYRET Date: Tue, 18 Jan 2022 16:26:27 +0000 (+0100) Subject: Les etapes sont facultatives X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=30cbe07576771ed11477a6f9b71068dbf0f668a6;p=tools%2Feficas.git Les etapes sont facultatives --- diff --git a/Ihm/I_OBJECT.py b/Ihm/I_OBJECT.py index c85f96f9..f9642ff8 100644 --- a/Ihm/I_OBJECT.py +++ b/Ihm/I_OBJECT.py @@ -211,10 +211,14 @@ class OBJECT: #print ('OBJECT getDicoForFancy ',self, self.nature) monDico={} leNom = self.nom + if self.nature == 'MCFACT' : leNom=self.getLabelText() monDico['statut'] = self.definition.statut monDico['nomCommande'] =self.nom + + if self.nature == 'OPERATEUR' or self.nature == 'PROC' : monDico['statut']='f' + if self.nature == 'OPERATEUR' and self.sdnom != "sansnom" : leNom = self.nom+'__'+self.sdnom monDico['title']=leNom monDico['key']=self.idUnique @@ -223,6 +227,7 @@ class OBJECT: if self.nature == 'MCLIST': monDico['validite']=None elif self.nature == 'MCBLOC': monDico['validite']=None else : monDico['validite']=self.getValid() + listeNodes=[] for obj in self.mcListe: lesNodes=obj.getDicoForFancy()