mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 04:47:16 +08:00
ENH:start checking printer connection status after clicking Send
Change-Id: Ibdd8a12b66b649b54b400433f4b3754fc1da478d
This commit is contained in:
parent
4d234b9785
commit
307ade3cd1
@ -879,17 +879,6 @@ void SendToPrinterDialog::on_selection_changed(wxCommandEvent &event)
|
||||
return;
|
||||
}
|
||||
|
||||
//check ip address
|
||||
if (obj->is_function_supported(PrinterFunction::FUNC_SEND_TO_SDCARD)) {
|
||||
if (obj->dev_ip.empty() || obj->get_access_code().empty()) {
|
||||
BOOST_LOG_TRIVIAL(info) << "MachineObject IP is empty ";
|
||||
std::string app_config_dev_ip = Slic3r::GUI::wxGetApp().app_config->get("ip_address", obj->dev_id);
|
||||
if (app_config_dev_ip.empty() || obj->get_access_code().empty()) {
|
||||
wxGetApp().show_ip_address_enter_dialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
update_show_status();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user