X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=InterfaceQT4%2FmonChoixCommande.py;h=fb803fd8379a4f2aa77c7c67a8936cf0609dcb28;hb=e570dff249a11579eb7d33de376ed71be16d7261;hp=af68c8af95acd6910ad28952c5c95550ce3f6723;hpb=1d010ff4e7d10301413f4760ae487291fcb2b2ca;p=tools%2Feficas.git diff --git a/InterfaceQT4/monChoixCommande.py b/InterfaceQT4/monChoixCommande.py index af68c8af..fb803fd8 100644 --- a/InterfaceQT4/monChoixCommande.py +++ b/InterfaceQT4/monChoixCommande.py @@ -60,6 +60,7 @@ class MonChoixCommande(Ui_ChoixCommandes,QtGui.QWidget): self.name=None self.AjouteRadioButton() self.connect(self.LEFiltre,SIGNAL("returnPressed()"),self.AjouteRadioButton) + if self.editor.affiche_alpha==0 : self.afficheGroupe() def afficheAlpha(self): self.affiche_alpha=1 @@ -85,9 +86,13 @@ class MonChoixCommande(Ui_ChoixCommandes,QtGui.QWidget): nouveau.setDeplie() #if self.editor.afficheApresInsert==True : nouveau.plieToutEtReaffiche() if self.editor.afficheApresInsert == True : - if self.editor.affichePlie ==True: nouveau.plieToutEtReaffiche() + #if self.editor.affichePlie==True: nouveau.plieToutEtReaffiche() + if self.editor.afficheCommandesPliees ==True: nouveau.plieToutEtReaffiche() else : nouveau.deplieToutEtReaffiche() + nouveau.fenetre.donnePremier() #nouveau.deplieToutEtReaffiche() + event.accept() + def CreeListeCommande(self,filtre): listeGroupes,dictGroupes=self.jdc.get_groups()