diff --git a/src/App/Document.cpp b/src/App/Document.cpp index a72cc89188..bd99723f0f 100644 --- a/src/App/Document.cpp +++ b/src/App/Document.cpp @@ -1556,7 +1556,7 @@ public: BackupPolicy() { policy = Standard; numberOfFiles = 1; - useFCBakExtension = false; + useFCBakExtension = true; saveBackupDateFormat = "%Y%m%d-%H%M%S"; } ~BackupPolicy() = default; @@ -1928,7 +1928,7 @@ bool Document::saveToFile(const char* filename) const count_bak = -1; } bool useFCBakExtension = App::GetApplication().GetParameterGroupByPath - ("User parameter:BaseApp/Preferences/Document")->GetBool("UseFCBakExtension",false); + ("User parameter:BaseApp/Preferences/Document")->GetBool("UseFCBakExtension",true); std::string saveBackupDateFormat = App::GetApplication().GetParameterGroupByPath ("User parameter:BaseApp/Preferences/Document")->GetASCII("SaveBackupDateFormat","%Y%m%d-%H%M%S"); diff --git a/src/Gui/DlgSettingsDocument.ui b/src/Gui/DlgSettingsDocument.ui index 2d90093047..687c69eee3 100644 --- a/src/Gui/DlgSettingsDocument.ui +++ b/src/Gui/DlgSettingsDocument.ui @@ -511,6 +511,9 @@ Common sizes are 128, 256 and 512 Backup files will get extension '.FCbak' and file names get date suffix according to the specified format + + true + Use date and FCBak extension