Adapt the device list to your custom model

This commit is contained in:
sunsets
2023-12-27 13:25:11 +08:00
parent fcdbe3aa23
commit b33112327f
3 changed files with 2 additions and 3 deletions

View File

@@ -552,7 +552,7 @@ void PrinterWebView::OnAddButtonClick(wxCommandEvent &event)
std::string model_id = "X-MAX 3";
if (preset != nullptr) {
if ((preset->config.opt_string("printer_model").empty()))
model_id = "X-MAX 3";
model_id = "my_printer";
else
model_id = preset->config.opt_string("printer_model");
}