FIX: privacyuse should be false when skip
JIRA:STUDIO-5773 Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com> Change-Id: I894f946ad627203d4378f82e826006fd73517537
This commit is contained in:
parent
d73171da9d
commit
014a6694d9
|
@ -1061,7 +1061,7 @@ wxWindow* PreferencesDialog::create_general_page()
|
|||
|
||||
auto title_user_experience = create_item_title(_L("User Experience"), page, _L("User Experience"));
|
||||
auto item_priv_policy = create_item_checkbox(_L("Join Customer Experience Improvement Program."), page, _L(""), 50, "privacyuse");
|
||||
wxHyperlinkCtrl* hyperlink = new wxHyperlinkCtrl(page, wxID_ANY, "What data would be collected?", "https://bambulab.com/en/policies/privacy");
|
||||
wxHyperlinkCtrl* hyperlink = new wxHyperlinkCtrl(page, wxID_ANY, _L("What data would be collected?"), "https://bambulab.com/en/policies/privacy");
|
||||
hyperlink->SetFont(Label::Head_13);
|
||||
item_priv_policy->Add(hyperlink, 0, wxALIGN_CENTER, 0);
|
||||
|
||||
|
|
|
@ -574,9 +574,9 @@ int GuideFrame::SaveProfile()
|
|||
{
|
||||
//privacy
|
||||
if (PrivacyUse == true) {
|
||||
m_MainPtr->app_config->set(std::string(m_SectionName.mb_str()), "privacyuse", "1");
|
||||
m_MainPtr->app_config->set(std::string(m_SectionName.mb_str()), "privacyuse", true);
|
||||
} else
|
||||
m_MainPtr->app_config->set(std::string(m_SectionName.mb_str()), "privacyuse", "0");
|
||||
m_MainPtr->app_config->set(std::string(m_SectionName.mb_str()), "privacyuse", false);
|
||||
|
||||
m_MainPtr->app_config->set("region", m_Region);
|
||||
|
||||
|
|
Loading…
Reference in New Issue