Salome HOME
Push double click
[modules/smesh.git] / src / Tools / YamsPlug / monYamsPlugDialog.py
index 07352668141c8b14360b8b2a32c6b523f461e4ac..1e9c32fc966e03a5881149460b451c3c4b509141 100644 (file)
@@ -72,9 +72,9 @@ class MonYamsPlugDialog(Ui_YamsPlugDialog,QWidget):
         if not(self.PrepareLigneCommande()) : return
         self.PBSavePressed(NomHypo=True)
         maFenetre=MonViewText(self,self.commande)
-        if os.path.isfile(self.fichierOut) :self.enregistreResultat()
 
   def enregistreResultat(self):
+        if not(os.path.isfile(self.fichierOut)) : return
         import smesh
         import SMESH
         import salome