mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-20 23:42:54 +00:00
fix: scope get_my_machine_list to printers listed under the current printer agent
This commit is contained in:
@@ -1119,7 +1119,7 @@ void SendToPrinterDialog::update_user_printer()
|
||||
wxArrayString machine_list_name;
|
||||
std::map<std::string, MachineObject*> option_list;
|
||||
|
||||
option_list = dev->get_my_machine_list();
|
||||
option_list = dev->get_my_machine_list(dev->get_current_printer_agent_id());
|
||||
|
||||
// same machine only appear once
|
||||
for (auto it = option_list.begin(); it != option_list.end(); it++) {
|
||||
|
||||
Reference in New Issue
Block a user