From 0556be2157c96ee30617ba1a40eacf20d132d277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B1=B3?= Date: Tue, 13 Aug 2024 22:55:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E2=80=9C=E4=BF=AE=E5=A4=8D=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E5=90=8E=E5=88=A0=E9=99=A4=E5=8E=9F=E5=A7=8B=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E2=80=9D=E9=85=8D=E7=BD=AE=E5=A2=9E=E5=8A=A0=E5=A4=96?= =?UTF-8?q?=E9=9C=B2=E9=85=8D=E7=BD=AE=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Desktop/Views/Pages/SettingsPage.xaml | 21 +++++++++++++++++++++ Desktop/Views/Pages/SettingsPage.xaml.cs | 5 +++++ 2 files changed, 26 insertions(+) diff --git a/Desktop/Views/Pages/SettingsPage.xaml b/Desktop/Views/Pages/SettingsPage.xaml index 3bf5c2f19..d5e72aa4c 100644 --- a/Desktop/Views/Pages/SettingsPage.xaml +++ b/Desktop/Views/Pages/SettingsPage.xaml @@ -569,6 +569,27 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/Desktop/Views/Pages/SettingsPage.xaml.cs b/Desktop/Views/Pages/SettingsPage.xaml.cs index 2ae1633ec..d91926938 100644 --- a/Desktop/Views/Pages/SettingsPage.xaml.cs +++ b/Desktop/Views/Pages/SettingsPage.xaml.cs @@ -316,6 +316,11 @@ public async void SaveConfiguration() { Config.Core_RunConfig._SaveCover = (bool)SaveCover_SwitchControl.IsChecked; } + //修复完成后删除原始文件开关 + if (Config.Core_RunConfig._DeleteOriginalFileAfterRepair != DeleteOriginalFileAfterRepair_SwitchControl.IsChecked) + { + Config.Core_RunConfig._DeleteOriginalFileAfterRepair = (bool)DeleteOriginalFileAfterRepair_SwitchControl.IsChecked; + } #endregion