Salome HOME
#16459 EDF 14133 - Complete Merge Nodes / Merge Elements operations
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_FileValidator.cxx
index cf17da47412ecd9470c22cd4428033999e7bf313..3583310ce4ff1025ec07cbbf25333bf2370b4f1a 100755 (executable)
@@ -72,3 +72,10 @@ bool SMESHGUI_FileValidator::canSave( const QString& fileName, bool checkPermiss
   }
   return true;
 }
+
+bool SMESHGUI_FileValidator::isOverwrite( const QString& fileName) const
+{
+  if ( QFile::exists( fileName ) )
+    return myIsOverwrite;
+  return true;
+}