From 307ade3cd124dd590bf2463454e88321d3112bbb Mon Sep 17 00:00:00 2001 From: tao wang Date: Thu, 13 Apr 2023 15:17:22 +0800 Subject: [PATCH] ENH:start checking printer connection status after clicking Send Change-Id: Ibdd8a12b66b649b54b400433f4b3754fc1da478d --- src/slic3r/GUI/SendToPrinter.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/slic3r/GUI/SendToPrinter.cpp b/src/slic3r/GUI/SendToPrinter.cpp index 3e64351da6..fd6aabb35c 100644 --- a/src/slic3r/GUI/SendToPrinter.cpp +++ b/src/slic3r/GUI/SendToPrinter.cpp @@ -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(); }