mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00: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:
@@ -780,10 +780,12 @@ bool SelectMachinePopup::search_for_printer(MachineObject* obj)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto& ip_it = obj->dev_ip.find(search_text);
|
#if !BBL_RELEASE_TO_PUBLIC
|
||||||
if (ip_it != std::string::npos) {
|
const auto& ip_it = obj->dev_ip.find(search_text);
|
||||||
return true;
|
if (ip_it != std::string::npos) {
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user