mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
FIX: use actual printer_type when connecting with ip&access_code
jira: [STUDIO-13841] Change-Id: Iff594cd1f6dcd5c6485ab0aa67c98f422a75fd6c (cherry picked from commit f8d0f62a1b3f3379de40a3b845c06fe61d907d82)
This commit is contained in:
@@ -2105,7 +2105,9 @@ void InputIpAddressDialog::workerThreadFunc(std::string str_ip, std::string str_
|
||||
machine.dev_ip = str_ip;
|
||||
machine.dev_id = detectData.dev_id;
|
||||
machine.printer_type = detectData.model_id;
|
||||
m_obj = dev->insert_local_device(machine, detectData.connect_type, detectData.bind_state, detectData.version, str_access_code);
|
||||
m_obj = dev->insert_local_device(machine,
|
||||
detectData.connect_type, detectData.bind_state, detectData.version,
|
||||
str_access_code);
|
||||
|
||||
|
||||
if (w.expired()) return;
|
||||
|
||||
Reference in New Issue
Block a user