From e8f089dfa401ce525cc69cc3de47d227cc4c121b Mon Sep 17 00:00:00 2001 From: Ian Chua Date: Tue, 1 Sep 2026 18:04:37 +0800 Subject: [PATCH] fix: build & access code UI --- src/slic3r/GUI/ReleaseNote.cpp | 1 - src/slic3r/Utils/NetworkAgent.hpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/slic3r/GUI/ReleaseNote.cpp b/src/slic3r/GUI/ReleaseNote.cpp index 6c9adb015b..034f40283f 100644 --- a/src/slic3r/GUI/ReleaseNote.cpp +++ b/src/slic3r/GUI/ReleaseNote.cpp @@ -2063,7 +2063,6 @@ void InputIpAddressDialog::on_text(wxCommandEvent &evt) if (str_access_code.IsEmpty()) { str_access_code = "88888888"; - m_input_access_code->GetTextCtrl()->SetValue(str_access_code); } auto str_name = m_input_printer_name->GetTextCtrl()->GetValue().Strip(wxString::both); diff --git a/src/slic3r/Utils/NetworkAgent.hpp b/src/slic3r/Utils/NetworkAgent.hpp index 42ded7e885..7eb220b341 100644 --- a/src/slic3r/Utils/NetworkAgent.hpp +++ b/src/slic3r/Utils/NetworkAgent.hpp @@ -5,6 +5,7 @@ #include "libslic3r/ProjectTask.hpp" #include "ICloudServiceAgent.hpp" +#include "IPrinterAgent.hpp" #include #include @@ -14,7 +15,6 @@ namespace Slic3r { class IPrinterAgent; -enum class FilamentSyncMode; // Forward declaration class BBLNetworkPlugin;