Salome HOME
bug double affichage rechercher
authorpascale.noyret <pascale.noyret@edf.fr>
Wed, 10 May 2017 14:00:53 +0000 (16:00 +0200)
committerpascale.noyret <pascale.noyret@edf.fr>
Wed, 10 May 2017 14:00:53 +0000 (16:00 +0200)
InterfaceQT4/qtEficas.py

index 3dd0dd38d420a231469e1cb312839edaa991628a..e7ba8511fd6dcab837215b3637efbc537b2ac770 100755 (executable)
@@ -210,7 +210,7 @@ class Appli(Ui_Eficas,QMainWindow):
                  menu.setAttribute(Qt.WA_DeleteOnClose)
                  menu.close()
                  delattr(self,intituleMenu)
-        for intituleAction in ("actionExecution","actionSaveRun",):
+        for intituleAction in ("actionExecution","actionSaveRun"):
             if hasattr(self,intituleAction):
               action=getattr(self,intituleAction)
               self.toolBar.removeAction(action)
@@ -331,6 +331,8 @@ class Appli(Ui_Eficas,QMainWindow):
         self.actionRechercherDsCatalogue.setVisible(False)
 
     def connectRechercherDsCatalogue(self):
+        if hasattr(self,'rechercherDejaLa') : return
+        self.rechercherDejaLa=True
         self.actionRechercherDsCatalogue.triggered.connect(self.handleRechercherDsCatalogue)
 
     def ajoutSortieLegere(self):