mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
ENH:add network detection for LAN mode printer
Change-Id: I0e3616b08f1a455df05c98c3b194ff9177df3ff1
This commit is contained in:
parent
9936c2b823
commit
c000ab2d8a
7 changed files with 29 additions and 16 deletions
|
@ -141,12 +141,16 @@ void SendJob::process()
|
|||
if (result != 0) {
|
||||
BOOST_LOG_TRIVIAL(error) << "access code is invalid";
|
||||
m_enter_ip_address_fun_fail();
|
||||
m_job_finished = true;
|
||||
return;
|
||||
}
|
||||
else {
|
||||
m_enter_ip_address_fun_success();
|
||||
if (!m_chck_and_continue) {
|
||||
m_enter_ip_address_fun_success();
|
||||
m_job_finished = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
m_job_finished = true;
|
||||
return;
|
||||
}
|
||||
/* display info */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue