From: vsr Date: Thu, 12 Mar 2009 09:04:48 +0000 (+0000) Subject: 0020205: Wrong saving of MED files with same names X-Git-Tag: V5_1_1rc2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b903278097ada7a9d10e6cf1aa270e176036223a;p=modules%2Fvisu.git 0020205: Wrong saving of MED files with same names --- diff --git a/src/VISU_I/VISU_Result_i.cc b/src/VISU_I/VISU_Result_i.cc index a70b0027..2ffa6bee 100644 --- a/src/VISU_I/VISU_Result_i.cc +++ b/src/VISU_I/VISU_Result_i.cc @@ -1374,7 +1374,7 @@ std::string VISU::Result_i ::GetFileName() const { - if(GetSourceId() == eRestoredFile) + if(GetSourceId() == eFile) return VISU::MakeFileName(myFileName, this); return myFileName;