From 40fbae1f76e82ae5698aaa59f33a826941f9633c Mon Sep 17 00:00:00 2001 From: Don HO Date: Thu, 28 Oct 2021 12:37:25 +0200 Subject: [PATCH] Enable backup on save (simple) feature by default Fix #10725 --- PowerEditor/src/Parameters.h | 2 +- PowerEditor/src/config.4zipPackage.xml | 2 +- PowerEditor/src/config.4zipPackage.xml.bak | 57 ++++++++++++++++++++++ 3 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 PowerEditor/src/config.4zipPackage.xml.bak diff --git a/PowerEditor/src/Parameters.h b/PowerEditor/src/Parameters.h index ac2452db1..b0f0bd8a6 100644 --- a/PowerEditor/src/Parameters.h +++ b/PowerEditor/src/Parameters.h @@ -793,7 +793,7 @@ struct NppGUI final bool _isLangMenuCompact = true; PrintSettings _printSettings; - BackupFeature _backup = bak_none; + BackupFeature _backup = bak_simple; bool _useDir = false; generic_string _backupDir; DockingManagerData _dockingData; diff --git a/PowerEditor/src/config.4zipPackage.xml b/PowerEditor/src/config.4zipPackage.xml index 97833e389..531cdf0e0 100644 --- a/PowerEditor/src/config.4zipPackage.xml +++ b/PowerEditor/src/config.4zipPackage.xml @@ -19,7 +19,7 @@ - + yes yes 2 diff --git a/PowerEditor/src/config.4zipPackage.xml.bak b/PowerEditor/src/config.4zipPackage.xml.bak new file mode 100644 index 000000000..97833e389 --- /dev/null +++ b/PowerEditor/src/config.4zipPackage.xml.bak @@ -0,0 +1,57 @@ + + + + standard + show + + vertical + hide + + + yes + yes + no + no + yes + yes + yes + yes + + + + + yes + yes + 2 + + + + + + show + + + + + + + + + + yes + + + + + + + + + + + + + + + +