Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
#16459 EDF 14133 - Complete Merge Nodes / Merge Elements operations
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_FileValidator.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_FileValidator.cxx
b/src/SMESHGUI/SMESHGUI_FileValidator.cxx
index cf17da47412ecd9470c22cd4428033999e7bf313..3583310ce4ff1025ec07cbbf25333bf2370b4f1a 100755
(executable)
--- a/
src/SMESHGUI/SMESHGUI_FileValidator.cxx
+++ b/
src/SMESHGUI/SMESHGUI_FileValidator.cxx
@@
-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;
+}