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)
self.actionRechercherDsCatalogue.setVisible(False)
def connectRechercherDsCatalogue(self):
+ if hasattr(self,'rechercherDejaLa') : return
+ self.rechercherDejaLa=True
self.actionRechercherDsCatalogue.triggered.connect(self.handleRechercherDsCatalogue)
def ajoutSortieLegere(self):