From ea023b0e23fe1cbad7aa6d85e44845a411240cbd Mon Sep 17 00:00:00 2001 From: Ian Chua Date: Wed, 21 Oct 2026 13:31:09 +0800 Subject: [PATCH] fix: regression --- src/slic3r/Utils/MoonrakerPrinterAgent.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/slic3r/Utils/MoonrakerPrinterAgent.cpp b/src/slic3r/Utils/MoonrakerPrinterAgent.cpp index 35cf4f6a82..f71590caa0 100644 --- a/src/slic3r/Utils/MoonrakerPrinterAgent.cpp +++ b/src/slic3r/Utils/MoonrakerPrinterAgent.cpp @@ -2481,11 +2481,6 @@ void MoonrakerPrinterAgent::announce_printhost_device() const std::string model_id = device_info.model_id; - if (auto* app_config = GUI::wxGetApp().app_config) { - const std::string access_code = device_info.api_key.empty() ? NO_API_KEY_SENTINEL : device_info.api_key; - app_config->set_str("access_code", device_info.dev_id, access_code); - } - nlohmann::json payload; payload["dev_name"] = dev_name; payload["dev_id"] = device_info.dev_id;