mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH:do not write to config file when user access code is empty
Change-Id: I180e20b7d26fd337eef09ff4267cd4c2c61b6518
This commit is contained in:
parent
4892a0491c
commit
c351ac54aa
4 changed files with 31 additions and 16 deletions
|
@ -418,11 +418,11 @@ public:
|
|||
void set_dev_ip(std::string ip) {dev_ip = ip;};
|
||||
bool has_access_right() { return !get_access_code().empty(); }
|
||||
std::string get_ftp_folder();
|
||||
void set_access_code(std::string code);
|
||||
std::string get_access_code();
|
||||
|
||||
void set_user_access_code(std::string code);
|
||||
|
||||
void set_access_code(std::string code, bool only_refresh = true);
|
||||
void set_user_access_code(std::string code, bool only_refresh = true);
|
||||
void erase_user_access_code();
|
||||
std::string get_user_access_code();
|
||||
bool is_lan_mode_printer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue