From: pascale.noyret Date: Fri, 10 Feb 2017 09:26:47 +0000 (+0100) Subject: pour pytel X-Git-Tag: Salome_8_3_Hydro_2_0rc1~84 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e28b625b0c6d6fb02c193684a2e69df10892099e;p=modules%2Feficas.git pour pytel --- diff --git a/InterfaceQT4/gereIcones.py b/InterfaceQT4/gereIcones.py index 599b3a8d..20f37668 100644 --- a/InterfaceQT4/gereIcones.py +++ b/InterfaceQT4/gereIcones.py @@ -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, diff --git a/InterfaceQT4/qtEficas.py b/InterfaceQT4/qtEficas.py index fa00cdd1..f0117c41 100755 --- a/InterfaceQT4/qtEficas.py +++ b/InterfaceQT4/qtEficas.py @@ -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):