From b0cfd51d3c4533fa458c104ee023b6ada6cc3573 Mon Sep 17 00:00:00 2001 From: tao wang Date: Sat, 10 May 2025 15:14:13 +0800 Subject: [PATCH] ENH:Not providing IP search in the user version jira:[none] Change-Id: Ib73c30fb924c7bd29ce6ecb66f6517716e841988 (cherry picked from commit 1b8a2e5a16b27d377adfc68c5e6e896cfd2a7c44) --- src/slic3r/GUI/SelectMachinePop.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/slic3r/GUI/SelectMachinePop.cpp b/src/slic3r/GUI/SelectMachinePop.cpp index 894c52ee07..682fb7501e 100644 --- a/src/slic3r/GUI/SelectMachinePop.cpp +++ b/src/slic3r/GUI/SelectMachinePop.cpp @@ -780,10 +780,12 @@ bool SelectMachinePopup::search_for_printer(MachineObject* obj) return true; } - const auto& ip_it = obj->dev_ip.find(search_text); - if (ip_it != std::string::npos) { - return true; +#if !BBL_RELEASE_TO_PUBLIC + const auto& ip_it = obj->dev_ip.find(search_text); + if (ip_it != std::string::npos) { + return true; } +#endif return false; }