mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-24 01:12:35 +00:00
fix: scope get_my_machine_list to printers listed under the current printer agent
This commit is contained in:
@@ -4311,7 +4311,7 @@ void MainFrame::load_printer_url()
|
||||
if (auto *device_manager = wxGetApp().getDeviceManager()) {
|
||||
auto *machine = device_manager->get_selected_machine();
|
||||
if (!machine) {
|
||||
auto machines = device_manager->get_my_machine_list();
|
||||
auto machines = device_manager->get_my_machine_list(device_manager->get_current_printer_agent_id());
|
||||
if (machines.size() == 1)
|
||||
machine = machines.begin()->second;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user