From: pascale.noyret Date: Thu, 30 Aug 2018 16:19:57 +0000 (+0200) Subject: modifs MT X-Git-Tag: preparation_V8_5_1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c15443d8625415791c6aba622b192c9fdf36cec2;p=tools%2Feficas.git modifs MT --- diff --git a/Ihm/I_MACRO_ETAPE.py b/Ihm/I_MACRO_ETAPE.py index 40941944..0de991d8 100644 --- a/Ihm/I_MACRO_ETAPE.py +++ b/Ihm/I_MACRO_ETAPE.py @@ -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:] diff --git a/InterfaceQT4/monLayoutBouton.py b/InterfaceQT4/monLayoutBouton.py index a1c11b7b..49a431a4 100644 --- a/InterfaceQT4/monLayoutBouton.py +++ b/InterfaceQT4/monLayoutBouton.py @@ -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: