mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
ENH: sync with localazy and fix compile error
Change-Id: I7cae72f24c2fde61e0c1e99c89c21801b7d10125 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
ecd8418640
commit
6122f5010a
24 changed files with 12418 additions and 6080 deletions
|
@ -323,15 +323,6 @@ std::string MachineObject::get_access_code()
|
|||
return get_user_access_code();
|
||||
}
|
||||
|
||||
void MachineObject::set_access_code(std::string code)
|
||||
{
|
||||
this->access_code = code;
|
||||
AppConfig* config = GUI::wxGetApp().app_config;
|
||||
if (config && !code.empty()) {
|
||||
GUI::wxGetApp().app_config->set_str("access_code", dev_id, code);
|
||||
}
|
||||
}
|
||||
|
||||
void MachineObject::set_user_access_code(std::string code)
|
||||
{
|
||||
this->user_access_code = code;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue