]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
Pour le path d acces aux fichiers sauvegardes
authorPascale Noyret <pascale.noyret@edf.fr>
Tue, 18 Nov 2008 16:18:10 +0000 (16:18 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Tue, 18 Nov 2008 16:18:10 +0000 (16:18 +0000)
InterfaceQT4/editor.py
Openturns_Wrapper/configuration.py

index 90950f60b68bf26f379028391ef108ed0eb75ced..a313fdfbb66405d087412f9e3f0b8a96482559c5 100644 (file)
@@ -491,7 +491,7 @@ class JDCEditor(QSplitter):
         newName = None
         if self.fichier is None or saveas:
           if path is None: 
-             path=self.CONFIGURATION.initialdir
+             path=self.CONFIGURATION.savedir
           selectedFilter = QString('')
           fn = QFileDialog.getSaveFileName( self,
                self.trUtf8("sauvegarde"), path,
index f97ef869484ea321216b91cd0d356ef4616c17bf..8eed5f0425728c8c5ea4ca56ff74cf19efd51c3b 100644 (file)
@@ -58,12 +58,13 @@ class CONFIG:
       else:         self.parent=None
 
 
-      self.labels=("OpenTURNS_path","rep_user","INSTALLDIR","path_doc","exec_acrobat","rep_cata","initialdir")
+      self.labels=("OpenTURNS_path","rep_user","INSTALLDIR","path_doc","exec_acrobat","rep_cata","initialdir","savedir")
 
       # Valeurs par defaut
       self.rep_user     = os.path.join(os.environ['HOME'],'.Eficas_Openturns')
       self.initialdir   = self.rep_user
       self.path_doc     = self.rep_user
+      self.savedir      = self.rep_user
       self.exec_acrobat = self.rep_user
  
       #Lecture des fichiers utilisateurs