- else :
- if self.editor.code in ['MAP','CARMELCND'] : self.bCatalogue.close()
- else : self.connect(self.bCatalogue,SIGNAL("clicked()"), self.afficheCatalogue)
- if self.editor.code in ['Adao','MAP'] :
- self.bAvant.close()
- self.bApres.close()
- else :
- self.connect(self.bAvant,SIGNAL("clicked()"), self.afficheAvant)
- self.connect(self.bApres,SIGNAL("clicked()"), self.afficheApres)
+ else :
+ try :
+ self.connect(self.bCatalogue,SIGNAL("clicked()"), self.afficheCatalogue)
+ self.connect(self.bAvant,SIGNAL("clicked()"), self.afficheAvant)
+ self.connect(self.bApres,SIGNAL("clicked()"), self.afficheApres)
+ except :
+ pass