]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
Fix bug #1886 (error message when clicking on button Fichier) V6_3_BR origin/V6_3_BR V6_3_1 V6_3_1rc1 mergeto_V6_main_19jul11
authorRenaud Barate <renaud.barate@edf.fr>
Tue, 21 Jun 2011 09:51:32 +0000 (09:51 +0000)
committerRenaud Barate <renaud.barate@edf.fr>
Tue, 21 Jun 2011 09:51:32 +0000 (09:51 +0000)
InterfaceQT4/monUniqueBasePanel.py

index b7ced50e048b11c1dee5f456fbd347a9e0781d18..4a4f30734fa8acae8f491d83394a959d2b05b7d2 100644 (file)
@@ -178,8 +178,8 @@ class MonUniqueBasePanel(DUnBase,QTPanel,SaisieValeur):
                self.connect(self.BSelectInFile,SIGNAL("clicked()"),self.BSelectInFilePressed)
              else :
                self.BSelectInFile.setVisible(1)
-         else:
-               self.BSelectInFile.setVisible(0)
+         elif hasattr(self, "BSelectInFile"):
+             self.BSelectInFile.setVisible(0)
 
           
   def BSelectInFilePressed(self):