diff --git a/src/slic3r/GUI/DeviceManager.cpp b/src/slic3r/GUI/DeviceManager.cpp index 96cf02ab5..d22af0570 100644 --- a/src/slic3r/GUI/DeviceManager.cpp +++ b/src/slic3r/GUI/DeviceManager.cpp @@ -5934,8 +5934,13 @@ std::map DeviceManager::get_local_machine_list() void DeviceManager::load_last_machine() { - if (userMachineList.empty()) return; - + if (userMachineList.empty()) { + // Orca: connect LAN printers instead + const auto local_machine = std::find_if(localMachineList.begin(), localMachineList.end(), [](const std::pair& it) -> bool { return it.second->has_access_right();}); + if (local_machine != localMachineList.end()) { + this->set_selected_machine(local_machine->second->dev_id); + } + } else if (userMachineList.size() == 1) { this->set_selected_machine(userMachineList.begin()->second->dev_id); } else {