From fb98856119f98172132b871883bb7bc8c4356311 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Wed, 10 May 2017 16:00:53 +0200 Subject: [PATCH] bug double affichage rechercher --- InterfaceQT4/qtEficas.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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): -- 2.39.2