ENH: request lan ip if liveview failed with lan tunnel (2)

Change-Id: Ie40c31b8c3600dc30228d931013cc0e12a6b1a78
This commit is contained in:
chunmao.guo 2023-01-11 18:04:49 +08:00 committed by Lane.Wei
parent f28c9198a7
commit 143f9cfe99
3 changed files with 22 additions and 19 deletions

View file

@ -3835,6 +3835,7 @@ 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);
userMachineList.insert(std::make_pair(dev_id, obj));
}