feat: Python Plugins

This commit is contained in:
Ian Chua
2026-07-02 17:49:36 +08:00
parent 395e070a0e
commit ecddf3d18f
183 changed files with 49955 additions and 2120 deletions

View File

@@ -651,16 +651,16 @@ bool PresetBundle::use_bbl_network()
}
bool PresetBundle::use_bbl_device_tab() {
if (!is_bbl_vendor()) {
const auto cfg = printers.get_edited_preset().config;
if (!is_bbl_vendor())
return false;
}
if (use_bbl_network()) {
return true;
}
const auto cfg = printers.get_edited_preset().config;
// Use bbl device tab if printhost webui url is not set
// Use bbl device tab if printhost webui url is not set
return cfg.opt_string("print_host_webui").empty();
}