]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
0020205: Wrong saving of MED files with same names
authorvsr <vsr@opencascade.com>
Thu, 12 Mar 2009 09:06:20 +0000 (09:06 +0000)
committervsr <vsr@opencascade.com>
Thu, 12 Mar 2009 09:06:20 +0000 (09:06 +0000)
src/VISU_I/VISU_Result_i.cc

index cad338f0801d67170808a56454817e9c6b8c73ce..3a9799a285e1e3bcba0aaa5c70eff520cc0611ca 100644 (file)
@@ -1356,7 +1356,7 @@ std::string
 VISU::Result_i
 ::GetFileName() const
 {
-  if(GetSourceId() == eRestoredFile)
+  if(GetSourceId() == eFile)
     return VISU::MakeFileName(myFileName, this);
 
   return myFileName;