ConfigWizard : Fixed get_preferred_printer_technology() function.

This bug was caused a wrong selection of the new added printer,
when some new vendor other then PrusaSlicer is added,
but PrusaSlicer has installed SLA printers.
(see SPE-2056)
This commit is contained in:
YuSanka 2023-12-05 09:51:13 +01:00
parent e46c711fce
commit b0673265eb

View File

@ -3000,7 +3000,7 @@ bool ConfigWizard::priv::apply_config(AppConfig *app_config, PresetBundle *prese
}
}
}
return pt;
return ptAny;
};
// Prusa printers are considered first, then 3rd party.
if (preferred_pt = get_preferred_printer_technology("PrusaResearch", bundles.prusa_bundle());