]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
modifs MT V8_5_1 preparation_V8_5_1
authorpascale.noyret <pascale.noyret@edf.fr>
Thu, 30 Aug 2018 16:19:57 +0000 (18:19 +0200)
committerpascale.noyret <pascale.noyret@edf.fr>
Thu, 30 Aug 2018 16:19:57 +0000 (18:19 +0200)
Ihm/I_MACRO_ETAPE.py
InterfaceQT4/monLayoutBouton.py

index 409419448586ee174e1dff343e6c63e268d65992..0de991d84b1c09f00783e4d9730a36d340e6a7ab 100644 (file)
@@ -545,6 +545,7 @@ class MACRO_ETAPE(I_ETAPE.ETAPE):
     for e in self.etapes: 
         e.niveau=self.niveau
         e.parent=self.parent
+        e.state='change'
 
     index=self.jdc.etapes.index(self)
     self.jdc.etapes=self.jdc.etapes[:index+1]+self.etapes+self.jdc.etapes[index+1:]
index a1c11b7b83669b738ea92942d592db5b5a926a11..49a431a437bd9644abe9a81e05d99829ec3898e3 100644 (file)
@@ -39,7 +39,9 @@ class MonLayoutBouton :
 
       self.appliEficas = appliEficas
       self.buttonGroup = QButtonGroup()
-      for nomEtape in self.appliEficas.readercata.cata_ordonne_dico:
+    
+      for etape in self.appliEficas.readercata.cata.JdC.commandes :
+        nomEtape = etape.nom
         toolButton = QToolButton(self.appliEficas.toolBarCommande)
         icon = QIcon()
         if nomEtape in self.appliEficas.maConfiguration.dicoIcones: