mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-29 20:30:51 -07:00
ENH:Not providing IP search in the user version
jira:[none] Change-Id: Ib73c30fb924c7bd29ce6ecb66f6517716e841988 (cherry picked from commit 1b8a2e5a16b27d377adfc68c5e6e896cfd2a7c44)
This commit is contained in:
parent
26fb098bbe
commit
b0cfd51d3c
1 changed files with 5 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue