mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX:fixed not on same LNA&restore IP from cache
Change-Id: I92e518b3cfeae11dfe818c11b8058f0bacd755b4
This commit is contained in:
parent
ab54fb6c80
commit
ef1dd258b4
1 changed files with 4 additions and 1 deletions
|
@ -4726,7 +4726,10 @@ void DeviceManager::parse_user_print_info(std::string body)
|
||||||
if (m_agent) {
|
if (m_agent) {
|
||||||
obj->set_bind_status(m_agent->get_user_name());
|
obj->set_bind_status(m_agent->get_user_name());
|
||||||
}
|
}
|
||||||
obj->dev_ip = Slic3r::GUI::wxGetApp().app_config->get("ip_address", dev_id);
|
|
||||||
|
if (obj->dev_ip.empty()) {
|
||||||
|
obj->dev_ip = Slic3r::GUI::wxGetApp().app_config->get("ip_address", dev_id);
|
||||||
|
}
|
||||||
userMachineList.insert(std::make_pair(dev_id, obj));
|
userMachineList.insert(std::make_pair(dev_id, obj));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue