]> 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:04:48 +0000 (09:04 +0000)
committervsr <vsr@opencascade.com>
Thu, 12 Mar 2009 09:04:48 +0000 (09:04 +0000)
src/VISU_I/VISU_Result_i.cc

index a70b0027925058113c055e005e00998538b9f188..2ffa6bee0612aa811db43c38e62b64f6765059e1 100644 (file)
@@ -1374,7 +1374,7 @@ std::string
 VISU::Result_i
 ::GetFileName() const
 {
-  if(GetSourceId() == eRestoredFile)
+  if(GetSourceId() == eFile)
     return VISU::MakeFileName(myFileName, this);
 
   return myFileName;