Fix-up of 187ff61 (fw alert dialog for bgcode)

This commit is contained in:
Lukas Matena 2023-11-14 11:20:17 +01:00
parent 0b68210849
commit 15eedfbb7f

View File

@ -6742,7 +6742,7 @@ static wxString check_binary_vs_ascii_gcode_extension(PrinterTechnology pt, cons
// without any error message.
static void alert_when_exporting_binary_gcode(bool binary_output, const std::string& printer_notes)
{
if (boost::algorithm::contains(printer_notes, "PRINTER_VENDOR_PRUSA3D")
if (binary_output
&& (boost::algorithm::contains(printer_notes, "PRINTER_MODEL_XL")
|| boost::algorithm::contains(printer_notes, "PRINTER_MODEL_MINI")
|| boost::algorithm::contains(printer_notes, "PRINTER_MODEL_MK4")))