From b0cf1143ac3a6861cd07ae93773fb13ebd7434fe Mon Sep 17 00:00:00 2001 From: offhub <6871698+offhub@users.noreply.github.com> Date: Sat, 2 Mar 2024 15:31:13 +0300 Subject: [PATCH] Update SettingsWindow.cpp --- SandboxiePlus/SandMan/Windows/SettingsWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp b/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp index 360b52fa..de81c9d6 100644 --- a/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp +++ b/SandboxiePlus/SandMan/Windows/SettingsWindow.cpp @@ -909,7 +909,7 @@ void CSettingsWindow::LoadSettings() ui.chkSandboxUrls->setCheckState(CSettingsWindow__Int2Chk(theConf->GetInt("Options/OpenUrlsSandboxed", 2))); ui.chkShowRecovery->setChecked(theConf->GetBool("Options/ShowRecovery", false)); - ui.chkCheckDelete->setChecked(!theConf->GetBool("Options/CleanUpOnStart", false)); + ui.chkCheckDelete->setChecked(theConf->GetBool("Options/CleanUpOnStart", false)); ui.chkNotifyRecovery->setChecked(!theConf->GetBool("Options/InstantRecovery", true)); ui.chkRecoveryTop->setChecked(theConf->GetBool("Options/RecoveryOnTop", true)); ui.chkAsyncBoxOps->setChecked(theConf->GetBool("Options/UseAsyncBoxOps", false)); @@ -1560,7 +1560,7 @@ void CSettingsWindow::SaveSettings() theConf->SetValue("Options/EnableSuspendKey", ui.chkSuspend->isChecked()); theConf->SetValue("Options/SuspendKeySequence", ui.keySuspend->keySequence().toString()); - theConf->SetValue("Options/CleanUpOnStart", !ui.chkCheckDelete->isChecked()); + theConf->SetValue("Options/CleanUpOnStart", ui.chkCheckDelete->isChecked()); theConf->SetValue("Options/WatchBoxSize", ui.chkMonitorSize->isChecked());