From cf0ebf6a4eec174c6d9458c8d04fa899b7cc8960 Mon Sep 17 00:00:00 2001 From: Kurt Date: Wed, 26 Dec 2018 17:25:22 -0800 Subject: [PATCH] Add automatic backup disable setting even if folder exists, can turn off the feature --- PKHeX.WinForms/App.config | 3 +++ PKHeX.WinForms/Properties/Settings.Designer.cs | 12 ++++++++++++ PKHeX.WinForms/Properties/Settings.settings | 3 +++ 3 files changed, 18 insertions(+) diff --git a/PKHeX.WinForms/App.config b/PKHeX.WinForms/App.config index 1a3202a59..3bdc8564a 100644 --- a/PKHeX.WinForms/App.config +++ b/PKHeX.WinForms/App.config @@ -61,6 +61,9 @@ True + + True + diff --git a/PKHeX.WinForms/Properties/Settings.Designer.cs b/PKHeX.WinForms/Properties/Settings.Designer.cs index 77f12a9e9..95bdbeccf 100644 --- a/PKHeX.WinForms/Properties/Settings.Designer.cs +++ b/PKHeX.WinForms/Properties/Settings.Designer.cs @@ -238,5 +238,17 @@ internal sealed partial class Settings : global::System.Configuration.Applicatio this["DetectSaveOnStartup"] = value; } } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("True")] + public bool BAKEnabled { + get { + return ((bool)(this["BAKEnabled"])); + } + set { + this["BAKEnabled"] = value; + } + } } } diff --git a/PKHeX.WinForms/Properties/Settings.settings b/PKHeX.WinForms/Properties/Settings.settings index f2100618d..036b17612 100644 --- a/PKHeX.WinForms/Properties/Settings.settings +++ b/PKHeX.WinForms/Properties/Settings.settings @@ -56,5 +56,8 @@ True + + True + \ No newline at end of file