]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
pour pytel
authorpascale.noyret <pascale.noyret@edf.fr>
Fri, 10 Feb 2017 09:26:47 +0000 (10:26 +0100)
committerpascale.noyret <pascale.noyret@edf.fr>
Fri, 10 Feb 2017 09:26:47 +0000 (10:26 +0100)
InterfaceQT4/gereIcones.py
InterfaceQT4/qtEficas.py

index 599b3a8d011afe491743902b872b1d8a7845364e..20f37668af86a2648477c25e0f178f9619a7e213 100644 (file)
@@ -268,13 +268,14 @@ class ContientIcones:
       elif hasattr(mctype[0], "filters"):
           filters = mctype[0].filters
       else:
-          filters = None
+          filters = ""
       if len(mctype) > 2 and mctype[2] == "Sauvegarde":
           fichier = QFileDialog.getSaveFileName(self.appliEficas,
                               tr('Sauvegarder Fichier'),
                               self.appliEficas.CONFIGURATION.savedir,
                               filters)
       else:
+          print filters
           fichier = QFileDialog.getOpenFileName(self.appliEficas,
                               tr('Ouvrir Fichier'),
                               self.appliEficas.CONFIGURATION.savedir,
index fa00cdd13ffa7a87b82c08011693f1e09861868a..f0117c41d45358ccab0b19810904f426f11cea70 100755 (executable)
@@ -461,7 +461,7 @@ class Appli(Ui_Eficas,QMainWindow):
         if Msg == None :
            self.viewmanager.handleAjoutGroup(listeGroup)
         else :
-           print "(il faut gerer les erreurs")
+           print ("il faut gerer les erreurs")
 
 
     def ChercheGrp(self):