feature add log for privacy policy changed.

This commit is contained in:
alves
2026-01-06 20:45:05 +08:00
parent 3e790b4b9e
commit 49546332c3
3 changed files with 5 additions and 3 deletions

View File

@@ -750,7 +750,8 @@ wxBoxSizer *PreferencesDialog::create_item_checkbox(wxString title, wxWindow *pa
if (param == "privacy_policy_isagree")
{
app_config->set("app", "privacy_policy_isagree", checkbox->GetValue());
app_config->set("app", "privacy_policy_isagree", checkbox->GetValue());
BOOST_LOG_TRIVIAL(warning) <<"create_item_checkbox changed the privacy policy with: "<<(checkbox->GetValue()?"true" : "false");
set_privacy_policy(checkbox->GetValue());
}
// if (param == "staff_pick_switch") {