From: pascale.noyret Date: Wed, 10 May 2017 14:00:53 +0000 (+0200) Subject: bug double affichage rechercher X-Git-Tag: V8_3_0~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fb98856119f98172132b871883bb7bc8c4356311;p=tools%2Feficas.git bug double affichage rechercher --- diff --git a/InterfaceQT4/qtEficas.py b/InterfaceQT4/qtEficas.py index 3dd0dd38..e7ba8511 100755 --- a/InterfaceQT4/qtEficas.py +++ b/InterfaceQT4/qtEficas.py @@ -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):