From 7acc3690ab6aec2c70e9e3df473b905c10c02994 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Wed, 10 Nov 2021 15:26:42 +0100 Subject: [PATCH] Change in checking model name in physical printer dialog --- src/slic3r/GUI/PhysicalPrinterDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/PhysicalPrinterDialog.cpp b/src/slic3r/GUI/PhysicalPrinterDialog.cpp index 22ced12e41..3d528df4b7 100644 --- a/src/slic3r/GUI/PhysicalPrinterDialog.cpp +++ b/src/slic3r/GUI/PhysicalPrinterDialog.cpp @@ -534,7 +534,7 @@ void PhysicalPrinterDialog::update_host_type(bool printer_change) [model_id](const VendorProfile::PrinterModel& model) { return model.id == model_id; }); if (it != models.end() && (it->family == "MK3" || it->family == "MINI")) continue; - } else if (!preset->vendor && (boost::ends_with(model_id, "MK3") || boost::ends_with(model_id, "MINI"))) { + } else if (!preset->vendor && (boost::starts_with(model_id, "MK3") || boost::starts_with(model_id, "MINI"))) { continue; }