FIX:fixed not on same LNA&restore IP from cache
Change-Id: I92e518b3cfeae11dfe818c11b8058f0bacd755b4
This commit is contained in:
parent
ab54fb6c80
commit
ef1dd258b4
|
@ -4726,7 +4726,10 @@ void DeviceManager::parse_user_print_info(std::string body)
|
|||
if (m_agent) {
|
||||
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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue