mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-12 06:52:57 +00:00
feature add Personal Information Cross-Border Transfer Notice
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include <libslic3r/Utils.hpp>
|
||||
#include "CreatePresetsDialog.hpp"
|
||||
#include <mutex>
|
||||
#include "bury_cfg/bury_point.hpp"
|
||||
|
||||
using namespace nlohmann;
|
||||
|
||||
@@ -521,7 +522,7 @@ void GuideFrame::OnScriptMessage(wxWebViewEvent &evt)
|
||||
std::string url = j["url"];
|
||||
std::string local = j["local"];
|
||||
if (!url.empty()) {
|
||||
wxLaunchDefaultBrowser(url);
|
||||
wxLaunchDefaultBrowser(url.c_str());
|
||||
}
|
||||
}
|
||||
else if (strCmd == "network_plugin_install") {
|
||||
@@ -649,6 +650,7 @@ int GuideFrame::SaveProfile()
|
||||
// } else
|
||||
// m_MainPtr->app_config->set(std::string(m_SectionName.mb_str()), "privacyuse", "0");
|
||||
m_MainPtr->app_config->set("app", "privacy_policy_isagree", PrivacyUse);
|
||||
set_privacy_policy(PrivacyUse);
|
||||
m_MainPtr->app_config->set("region", m_Region);
|
||||
m_MainPtr->app_config->set_bool("stealth_mode", StealthMode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user